deployment added
This commit is contained in:
@ -4,6 +4,10 @@ import "encoding/json"
|
||||
import "log"
|
||||
import "os"
|
||||
|
||||
type HandlerConfigT struct {
|
||||
DatabaseConnStr string `json:"databaseConnStr"`
|
||||
Attributes map[string]string `json:"attributes"`
|
||||
}
|
||||
|
||||
type ConfigT struct {
|
||||
Mqtt struct {
|
||||
@ -16,11 +20,7 @@ type ConfigT struct {
|
||||
Topics []string `json:"topics"`
|
||||
Handler string `json:"handler"`
|
||||
} `json:"topicMappings"`
|
||||
Handlers []struct {
|
||||
Name string `json:"name"`
|
||||
DatabaseConnStr string `json:"databaseConnStr"`
|
||||
Attributes map[string]string `json:"attributes"`
|
||||
} `json:"handlers"`
|
||||
Handlers map[string]HandlerConfigT `json:"handlers"`
|
||||
Archiver struct {
|
||||
Dir string `json:"dir"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user