Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultConfigFilePath = "/etc/driver/res/configuration.toml" Core = "Core" MQTTBroker = "MQTTBroker" )
Variables ¶
View Source
var FilePath string
Functions ¶
This section is empty.
Types ¶
type ClientInfo ¶
type DriverConfig ¶
type DriverConfig struct { Logger LogConfig Clients map[string]ClientInfo Service ServiceInfo CustomParam string }
func ParseConfig ¶
func ParseConfig() (*DriverConfig, error)
func (*DriverConfig) GetServiceID ¶
func (d *DriverConfig) GetServiceID() string
func (*DriverConfig) ValidateConfig ¶
func (d *DriverConfig) ValidateConfig() error
Click to show internal directories.
Click to hide internal directories.