Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigFlagsProcess ¶
func ConfigFlagsProcess() (err error)
ConfigFlagsProcess processes the registered config flags
func ConfigFlagsRegister ¶
func ConfigFlagsRegister()
ConfigFlagsRegister registers the config-related flags
func ConfigWrite ¶
func ConfigWrite() error
ConfigWrite updates the file with the current config info
Types ¶
type ConfigSettings ¶
type ConfigSettings struct {
When string `json:"when,omitempty"`
Hub string `json:"hub,omitempty"`
App string `json:"app,omitempty"`
Device string `json:"device,omitempty"`
Product string `json:"product,omitempty"`
Root string `json:"root,omitempty"`
Cert string `json:"cert,omitempty"`
Key string `json:"key,omitempty"`
Secure bool `json:"secure,omitempty"`
Interface string `json:"interface,omitempty"`
Port string `json:"port,omitempty"`
PortConfig int `json:"port_config,omitempty"`
}
ConfigSettings defines the config file that maintains the command processor's state
var Config ConfigSettings
Config are the master config settings
var ConfigFlags ConfigSettings
Click to show internal directories.
Click to hide internal directories.