handler stuff
This commit is contained in:
@ -14,13 +14,13 @@ type ConfigT struct {
|
||||
} `json:"mqtt"`
|
||||
TopicMappings []struct {
|
||||
Topics []string `json:topics`
|
||||
Plugin string `json:plugin`
|
||||
Handler string `json:handler`
|
||||
} `json:"TopicMappings"`
|
||||
Plugins []struct {
|
||||
Handlers []struct {
|
||||
Name string `json:"name"`
|
||||
DatabaseConnStr string `json:"databaseConnStr"`
|
||||
Attributes map[string]string `json:"attributes"`
|
||||
} `json:"plugins"`
|
||||
} `json:"handlers"`
|
||||
}
|
||||
|
||||
var Config ConfigT
|
||||
|
Reference in New Issue
Block a user