Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigFileName = "/data/options.json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DeviceID string `json:"DEVICEID"` HomeassistantURL string `json:"HOMEASSISTANTURL"` HomeassistantToken string `json:"HOMEASSISTANTTOKEN"` BrokerURL string `json:"BROKERURL"` BrokerPort int `json:"BROKERPORT"` BrokerUsername string `json:"BROKERUSERNAME"` BrokerPassword string `json:"BROKERPASSWORD"` BrokerTopic string `json:"BROKERTOPIC"` Debug bool `json:"DEBUG"` }
Config ...
func InitConfig ¶
Click to show internal directories.
Click to hide internal directories.