-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.go
More file actions
19 lines (18 loc) · 878 Bytes
/
config.go
File metadata and controls
19 lines (18 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package tpflow
type Configs struct {
InstanceAddress string `json:"instance_address"`
MqttServerURI string `json:"mqtt_server_uri"`
MqttUsername string `json:"mqtt_server_username"`
MqttPassword string `json:"mqtt_server_password"`
MqttTopicGlobalPrefix string `json:"mqtt_topic_global_prefix"`
FlowStorageDir string `json:"flow_storage_dir"`
ConnectorStorageDir string `json:"connector_storage_dir"`
RegistryDbFile string `json:"registry_db_file"`
ContextStorageDir string `json:"context_storage_dir"`
ExternalLibsDir string `json:"ext_libs_dir"`
MqttClientIdPrefix string `json:"mqtt_client_id_prefix"`
LogFile string `json:"log_file"`
LogLevel string `json:"log_level"`
LogFormat string `json:"log_format"`
IsDevMode bool `json:"is_dev_mode"`
}