fix configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-12-05 16:21:30 +01:00
parent 00a9eceea8
commit a5209dad8f
11 changed files with 94 additions and 15 deletions

View File

@ -17,10 +17,11 @@ type ConfigT struct {
TlsEnable string `json:"tlsEnable"`
} `json:"mqtt"`
TopicMappings []struct {
Id string `json:"id"`
Topics []string `json:"topics"`
Handler string `json:"handler"`
Config HandlerConfigT `json:"config"`
} `json:"topicMappings"`
Handlers map[string]HandlerConfigT `json:"handlers"`
Archiver struct {
Dir string `json:"dir"`
}