Versions in this module Expand all Collapse all v0 v0.2.0 May 20, 2018 Changes in this version + type CompressConfig struct + Level compress.Level + func (c *CompressConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type Config struct + Compression CompressConfig + ID string + ModOffline offline.Config + ModPing xep0199.Config + ModRegistration xep0077.Config + ModRoster roster.Config + ModVersion xep0092.Config + Modules map[string]struct{} + ResourceConflict ResourceConflictPolicy + SASL []string + TLS TLSConfig + Transport TransportConfig + Type ServerType + func (cfg *Config) UnmarshalYAML(unmarshal func(interface{}) error) error + type ResourceConflictPolicy int + const Override + const Reject + const Replace + type ServerType int + const C2SServerType + const S2SServerType + func (st ServerType) String() string + type TLSConfig struct + CertFile string + PrivKeyFile string + type TransportConfig struct + BindAddress string + ConnectTimeout int + KeepAlive int + MaxStanzaSize int + Port int + Type transport.TransportType + func (t *TransportConfig) UnmarshalYAML(unmarshal func(interface{}) error) error v0.1.15 Mar 20, 2018 Changes in this version + func Initialize(srvConfigurations []config.Server, debugPort int) + func Shutdown()