Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentConf ¶
type AgentConf struct { Server ServerConf `toml:"server"` Terminal Terminal `toml:"terminal"` Heartbeat Heartbeat `toml:"heartbeat"` Channels ChanConf `toml:"channels"` Edgex EdgexConf `toml:"edgex"` Log LogConf `toml:"log"` MQTT MQTTConf `toml:"mqtt"` }
Config struct of Mainflux Agent
type MQTTConf ¶
type MQTTConf struct { URL string `json:"url" toml:"url"` Username string `json:"username" toml:"username" mapstructure:"username"` Password string `json:"password" toml:"password" mapstructure:"password"` MTLS bool `json:"mtls" toml:"mtls" mapstructure:"mtls"` SkipTLSVer bool `json:"skip_tls_ver" toml:"skip_tls_ver" mapstructure:"skip_tls_ver"` Retain bool `json:"retain" toml:"retain" mapstructure:"retain"` QoS byte `json:"qos" toml:"qos" mapstructure:"qos"` CAPath string `json:"ca_path" toml:"ca_path" mapstructure:"ca_path"` CertPath string `json:"cert_path" toml:"cert_path" mapstructure:"cert_path"` PrivKeyPath string `json:"priv_key_path" toml:"priv_key_path" mapstructure:"priv_key_path"` CA []byte `json:"-" toml:"-"` Cert tls.Certificate `json:"-" toml:"-"` }
type ServerConf ¶
Click to show internal directories.
Click to hide internal directories.