Versions in this module Expand all Collapse all v1 v1.1.0 Jan 19, 2021 v1.0.0 Jan 9, 2021 Changes in this version + const Name + const Vendor + const Version + func Addr() string + func Auth() bool + func CacheGop() bool + func ConsoleAppDir() (string, bool) + func DemosAppDir() (string, bool) + func DetectFfmpeg(l *xlog.Logger) bool + func HlsEnable() bool + func HlsFragment() int + func HlsPath() string + func InitConfig() + func MulticastTTL() int + func NetBufferSize() int + func NetFlushRate() int + func NetHeartbeatInterval() time.Duration + func NetTimeout() time.Duration + func Profile() bool + func RtspAuthMode() auth.Mode + type LogConfig struct + Compress bool + Filename string + Level xlog.Level + MaxBackups int + MaxDays int + MaxSize int + ToFile bool + type Provider interface + Configure func(config map[string]interface{}) error + Name func() string + func LoadProvider(config *ProviderConfig, providers ...Provider) Provider + func LoadRoutetableProvider(providers ...Provider) Provider + func LoadUsersProvider(providers ...Provider) Provider + type ProviderConfig struct + Config map[string]interface{} + Provider string + func (c *ProviderConfig) Load(builtins ...Provider) (Provider, error) + func (c *ProviderConfig) LoadOrPanic(builtins ...Provider) Provider + type TLSConfig struct + Certificate string + ListenAddr string + PrivateKey string + func GetTLSConfig() *TLSConfig + func (c *TLSConfig) Load() (*tls.Config, error)