Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteConfig ¶
func WriteConfig(path string, config TomlConfig) error
Types ¶
type InterfaceConfig ¶
type TomlConfig ¶
type TomlConfig struct { LogLevel string MapFile string Server serverConfig Mqtt mqttConfig Interfaces map[string]InterfaceConfig Vessel VesselConfig }
func ReadConfig ¶
func ReadConfig(path string) (TomlConfig, error)
Click to show internal directories.
Click to hide internal directories.