package core type Configuration struct { Collectors struct { TcpCollectorPort string `mapstructure:"porttcp"` SerialCollectorPort string `mapstructure:"portserial"` } `mapstructure:"Collectors"` Webserver struct { Port string `mapstructure:"port"` } `mapstructure:"webserver"` Pipeline struct { PublishIntervalMs int `mapstructure:"publishintervalms"` SyncUpdateIntervalMs int `mapstructure:"syncupdateintervalms"` } `mapstructure:"pipeline"` Debuglevel string `mapstructure:"debuglevel"` }