Versions in this module Expand all Collapse all v0 v0.1.15 Mar 20, 2018 Changes in this version + func FromBuffer(buf *bytes.Buffer, cfg *Config) error + func FromFile(configFile string, cfg *Config) error + type BadgerDb struct + DataDir string + type C2S struct + Domains []string + func (c *C2S) UnmarshalYAML(unmarshal func(interface{}) error) error + type ChannelBindingMechanism int + const TLSUnique + type Compression struct + Level CompressionLevel + func (c *Compression) UnmarshalYAML(unmarshal func(interface{}) error) error + type CompressionLevel int + const BestCompression + const DefaultCompression + const NoCompression + const SpeedCompression + func (cl CompressionLevel) String() string + type Config struct + C2S C2S + Debug struct{ ... } + Logger Logger + PIDFile string + Servers []Server + Storage Storage + type LogLevel int + const DebugLevel + const ErrorLevel + const FatalLevel + const InfoLevel + const WarningLevel + type Logger struct + Level LogLevel + LogPath string + func (l *Logger) UnmarshalYAML(unmarshal func(interface{}) error) error + type ModOffline struct + QueueSize int + type ModPing struct + Send bool + SendInterval int + type ModRegistration struct + AllowCancel bool + AllowChange bool + AllowRegistration bool + type ModVersion struct + ShowOS bool + type MySQLDb struct + Database string + Host string + Password string + PoolSize int + User string + type ResourceConflictPolicy int + const Override + const Reject + const Replace + type Server struct + Compression Compression + ID string + ModOffline ModOffline + ModPing ModPing + ModRegistration ModRegistration + ModVersion ModVersion + Modules map[string]struct{} + ResourceConflict ResourceConflictPolicy + SASL []string + TLS TLS + Transport Transport + Type ServerType + func (s *Server) UnmarshalYAML(unmarshal func(interface{}) error) error + type ServerType int + const C2SServerType + const S2SServerType + func (st ServerType) String() string + type Storage struct + BadgerDB *BadgerDb + MySQL *MySQLDb + Type StorageType + func (s *Storage) UnmarshalYAML(unmarshal func(interface{}) error) error + type StorageType int + const BadgerDB + const Mock + const MySQL + type TLS struct + CertFile string + PrivKeyFile string + type Transport struct + BindAddress string + BufferSize int + ConnectTimeout int + KeepAlive int + Port int + Type TransportType + func (t *Transport) UnmarshalYAML(unmarshal func(interface{}) error) error + type TransportType int + const Socket + func (tt TransportType) String() string