Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Level string `mapstructure:"level" json:"level"` ConfigFile string `mapstructure:"config" json:"config"` NoHeader bool `mapstructure:"noheader" json:"noheader"` API struct { Bind string `mapstructure:"bind" json:"bind"` RawVodsPath string `mapstructure:"raw_vods_path" json:"raw_vods_path"` } `mapstructure:"api" json:"api"` Pod struct { Name string `mapstructure:"name" json:"name"` } `mapstructure:"pod" json:"pod"` Mongo struct { URI string `mapstructure:"uri" json:"uri"` Database string `mapstructure:"database" json:"database"` Direct bool `mapstructure:"direct" json:"direct"` } `mapstructure:"mongo" json:"mongo"` RMQ struct { URI string `mapstructure:"uri" json:"uri"` } `mapstructure:"rmq" json:"rmq"` Redis struct { Username string `mapstructure:"username" json:"username"` Password string `mapstructure:"password" json:"password"` MasterName string `mapstructure:"master_name" json:"master_name"` Addresses []string `mapstructure:"addresses" json:"addresses"` Database int `mapstructure:"database" json:"database"` Sentinel bool `mapstructure:"sentinel" json:"sentinel"` } `mapstructure:"redis" json:"redis"` Monitoring struct { Enabled bool `mapstructure:"enabled" json:"enabled"` Bind string `mapstructure:"bind" json:"bind"` Labels []KeyValue `mapstructure:"labels" json:"labels"` } `mapstructure:"monitoring" json:"monitoring"` Health struct { Enabled bool `mapstructure:"enabled" json:"enabled"` Bind string `mapstructure:"bind" json:"bind"` } `mapstructure:"health" json:"health"` TwitchChat struct { Enabled bool `mapstructure:"enabled" json:"enabled"` } `mapstructure:"twitch_chat" json:"twitch_chat"` Twitch struct { ClientID string `mapstructure:"client_id" json:"client_id"` ClientSecret string `mapstructure:"client_secret" json:"client_secret"` RedirectURL string `mapstructure:"redirect_url" json:"redirect_url"` Webhook struct { Secret string `mapstructure:"secret" json:"secret"` CallbackURL string `mapstructure:"callback_url" json:"callback_url"` } `mapstructure:"webhook" json:"webhook"` } `mapstructure:"twitch" json:"twitch"` }
Click to show internal directories.
Click to hide internal directories.