Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Debug DebugConfig `json:"debug"` WsProxy WsProxyConfig `json:"wsProxy" validate:"required"` Metrics MetricsConfig `json:"metrics"` Dreamkast DreamkastConfig `json:"dreamkast" validate:"required"` Redis RedisConfig `json:"redis" validate:"required"` Tracks []TrackConfig `json:"tracks" validate:"required"` Watcher WatcherConfig `json:"watcher" validate:"required"` }
type DebugConfig ¶
type DkWatcherConfig ¶
type DreamkastConfig ¶
type DreamkastConfig struct { EventAbbr string `json:"eventAbbr" validate:"required"` EndpointUrl string `json:"endpointUrl" validate:"required"` Auth0Domain string `json:"auth0Domain"` Auth0ClientId string `json:"auth0ClientId"` Auth0ClientSecret string `json:"auth0ClientSecret"` Auth0ClientAudience string `json:"auth0ClientAudience" default:"https://event.cloudnativedays.jp/"` }
type MetricsConfig ¶
type MetricsConfig struct {
BindAddr string `json:"bindAddr" default:":20081"`
}
type ObsWatcherConfig ¶
type RedisConfig ¶
type RedisConfig struct {
Host string `json:"host" validate:"required"`
}
type SlackConfig ¶
type TrackConfig ¶
type TrackConfig struct { DkTrackId int32 `json:"dkTrackId" validate:"required"` Obs ObsConfig `json:"obs" validate:"required"` Slack SlackConfig `json:"slack" validate:"required"` }
type WatcherConfig ¶
type WatcherConfig struct { ObsWatcher ObsWatcherConfig `json:"obsWatcher"` DkWatcher DkWatcherConfig `json:"dkWatcher"` }
type WsProxyConfig ¶
type WsProxyConfig struct {
BindAddr string `json:"bindAddr" default:":20080"`
}
Click to show internal directories.
Click to hide internal directories.