Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Debug bool `toml:"debug"` Live LiveConfig `toml:"live"` Grpc ServerConfig `toml:"grpc"` }
Config 配置文件
type LiveConfig ¶
type LiveConfig struct { Name string `toml:"name"` // 显示名 BaseURL string `toml:"base_url"` // 基础推流地址 AppName string `toml:"app_name"` // 推流app名 LiveId string `toml:"live_id"` // 流id }
LiveConfig 推流配置
type ServerConfig ¶
ServerConfig grpc 服务配置
Click to show internal directories.
Click to hide internal directories.