Documentation ¶
Index ¶
Constants ¶
View Source
const (
ENV_PREFIX = "HLS"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct { // common configuration options Common struct { Listen string `toml:"listen"` SslCertificate string `toml:"ssl_certificate"` SslPrivateKey string `toml:"ssl_privatekey"` HlsPath string `toml:"hls_path"` ViewerTimeout int `toml:"viewer_timeout"` } `toml:"common"` // influx database Influx struct { Address string `toml:"address" env:"ADDR"` // HLS_INFLUX_ADDR User string `toml:"user" env:"USER"` // HLS_INFLUX_USER Password string `toml:"password" env:"PASSWORD"` // HLS_INFLUX_PASSWORD Database string `toml:"database" env:"DB"` // HLS_INFLUX_DB } `toml:"influx" env:"INFLUX"` }
func (*Conf) IsSslEnabled ¶
Click to show internal directories.
Click to hide internal directories.