Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigPath = "./configs/local.yml"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Db DatabaseConfig `mapstructure:"db"` Outputs OutputsConfig `mapstructure:"outputs"` Streaming StreamingConfig `mapstructure:"streaming"` Genres []GenreConfig `mapstructure:"genres"` }
var Conf Config
type DatabaseConfig ¶
type GenreConfig ¶
type OutputsConfig ¶
type OutputsConfig struct {
PlayerConfig PlayerConfig `mapstructure:"player"`
}
type PlayerConfig ¶
type StreamingConfig ¶
type StreamingConfig struct { Path string `mapstructure:"path"` Config interface{} `mapstructure:"config"` }
Click to show internal directories.
Click to hide internal directories.