Versions in this module Expand all Collapse all v1 v1.0.14 May 13, 2023 v1.0.13 Mar 27, 2023 v1.0.12 Mar 27, 2023 v1.0.11 Mar 24, 2023 v1.0.10 Mar 24, 2023 v1.0.9 Mar 13, 2023 v1.0.8 Mar 13, 2023 v1.0.7 Mar 6, 2023 v1.0.6 Mar 5, 2023 v1.0.5 Mar 6, 2023 v1.0.4 Feb 25, 2023 v1.0.3 Mar 5, 2023 v1.0.1 Mar 3, 2023 v1.0.0 Feb 25, 2023 Changes in this version + var BypassInit string = "" + var Config = viper.New() + var RoomKeys = &RoomKeysType + func CheckAppName(appname string) bool + func GetStaticPushUrlList(appname string) ([]string, bool) + func Init() + type Application struct + Api bool + Appname string + Flv bool + Hls bool + Live bool + StaticPush []string + type Applications []Application + type JWT struct + Algorithm string + Secret string + type RoomKeysType struct + func (r *RoomKeysType) DeleteChannel(channel string) bool + func (r *RoomKeysType) DeleteKey(key string) bool + func (r *RoomKeysType) GetChannel(key string) (channel string, err error) + func (r *RoomKeysType) GetKey(channel string) (newKey string, err error) + func (r *RoomKeysType) SetKey(channel string) (key string, err error) + type ServerCfg struct + APIAddr string + ConfigFile string + EnableTLSVerify bool + FLVArchive bool + FLVDir string + GopNum int + HLSAddr string + HLSKeepAfterEnd bool + HTTPFLVAddr string + JWT JWT + Level string + RTMPAddr string + RTMPNoAuth bool + ReadTimeout int + RedisAddr string + RedisPwd string + Server Applications + WriteTimeout int