configure

package
v0.0.0-...-c4faa10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2018 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAppName

func CheckAppName(appname string) bool

func GetStaticPushUrlList

func GetStaticPushUrlList(appname string) ([]string, bool)

func LoadConfig

func LoadConfig(configfilename string) error

Types

type Application

type Application struct {
	Appname     string
	Liveon      string
	Hlson       string
	Static_push []string
}
{
	[
	{
	"application":"live",
	"live":"on",
	"hls":"on",
	"static_push":["rtmp://xx/live"]
	}
	]
}

type ServerCfg

type ServerCfg struct {
	Server []Application
}
var RtmpServercfg ServerCfg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL