Versions in this module Expand all Collapse all v0 v0.2.6 Mar 20, 2019 Changes in this version + var PluginsDir string + var WorkDir string + func ConfigureLog() error + func ConfigureLoggers(c *LogConfig) error + func GetHumanLogger() *zap.SugaredLogger + func GetLogger() *zap.SugaredLogger + func LoadPlugins(path string, list []string) map[string]PluginState + type AcceptorConfig struct + MaxIncoming int + PreSpawn int + type AuthConfig struct + Anonymous bool + Order []string + type Config struct + Auth AuthConfig + Listeners ListenersConfig + Mqtt MqttConfig + Plugins PluginsConfig + Security SecurityConfig + System SystemConfig + func DefaultConfig() *Config + func ReadConfig() *Config + type ConsoleLogConfig struct + type FileLogConfig struct + File string + MaxAge int + MaxBackups int + MaxSize int + type ListenersConfig struct + DefaultAddr string + MQTT map[string]map[string]PortConfig + type LogConfig struct + Console ConsoleLogConfig + File *FileLogConfig + SysLog *SysLogConfig + type LogConfigBase struct + Backtrace bool + Level string + Timestamp ... + func (s *LogConfigBase) UnmarshalYAML(unmarshal func(interface{}) error) error + type MqttConfig struct + KeepAlive struct{ ... } + Options struct{ ... } + Systree struct{ ... } + Version []string + type Options struct + LogWithTs bool + type PluginState struct + Errors []error + Plugin vlplugin.Plugin + type PluginsConfig struct + Config map[string]interface{} + Enabled []string + type PortConfig struct + Auth AuthConfig + Host string + Path string + TLS TLSConfig + type SecurityConfig struct + TLS TLSConfig + type SysLogConfig struct + type SystemConfig struct + Acceptor AcceptorConfig + Http struct{ ... } + Log LogConfig + type TLSConfig struct + Cert string + Key string + func (t *TLSConfig) LoadConfig() (*tls.Config, error) + func (t *TLSConfig) Validate() (tls.Certificate, error)