Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configure ¶
type Configure struct { Database Database `toml:"database"` Queue Queue `toml:"queue"` IPFS IPFS `toml:"ipfs"` Manager Manager `toml:"manager"` }
Configure ...
func DefaultConfigure ¶
func DefaultConfigure() *Configure
type Database ¶
type Database struct { Prefix string `toml:"prefix"` Type string `toml:"type"` Addr string `toml:"addr"` Port string `toml:"port"` Password string `toml:"password"` Username string `toml:"username"` DB string `toml:"db"` }
Database ...
type Manager ¶
type Manager struct { ManagerName string `toml:"manager_name"` NodeName string `toml:"node_name"` CensorName string `toml:"censor_name"` EnableGRPC bool `toml:"enable_grpc"` EnableREST bool `toml:"enable_rest"` REST REST `toml:"rest"` RequestType string `toml:"request_type"` KeyAddressRule string `toml:"key_address_rule"` Host string `toml:"host"` }
type Media ¶
type Media struct { Upload string `toml:"upload"` //上传路径 Transfer string `toml:"transfer"` //转换路径 M3U8 string `toml:"m3u8"` //m3u8文件名 KeyURL string `toml:"key_url"` //default url KeyDest string `toml:"key_dest"` //key 文件输出目录 KeyFile string `toml:"key_file"` //key文件名 KeyInfoFile string `toml:"key_info_file"` //keyFile文件名 }
Media ...
Click to show internal directories.
Click to hide internal directories.