Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conf ¶
type Conf struct { Debug bool `json:"debug"` LiveCheckInterval int `json:"live_check_interval_seconds"` ActiveQueueItems int `json:"active_queue_items"` OAuthEnabled bool `json:"oauth_enabled"` RegistrationEnabled bool `json:"registration_enabled"` DBSeeded bool `json:"db_seeded"` Parameters struct { VideoConvert string `json:"video_convert"` ChatRender string `json:"chat_render"` StreamlinkLive string `json:"streamlink_live"` } `json:"parameters"` Notifications Notification `json:"notifications"` }
type Notification ¶ added in v1.1.1
type Notification struct { VideoSuccessWebhookUrl string `json:"video_success_webhook_url"` VideoSuccessTemplate string `json:"video_success_template"` VideoSuccessEnabled bool `json:"video_success_enabled"` LiveSuccessWebhookUrl string `json:"live_success_webhook_url"` LiveSuccessTemplate string `json:"live_success_template"` LiveSuccessEnabled bool `json:"live_success_enabled"` ErrorWebhookUrl string `json:"error_webhook_url"` ErrorTemplate string `json:"error_template"` ErrorEnabled bool `json:"error_enabled"` IsLiveWebhookUrl string `json:"is_live_webhook_url"` IsLiveTemplate string `json:"is_live_template"` IsLiveEnabled bool `json:"is_live_enabled"` }
type Service ¶
func NewService ¶
func (*Service) GetNotificationConfig ¶ added in v1.1.1
func (s *Service) GetNotificationConfig(c echo.Context) (*Notification, error)
func (*Service) UpdateConfig ¶
func (*Service) UpdateNotificationConfig ¶ added in v1.1.1
func (s *Service) UpdateNotificationConfig(c echo.Context, nDto *Notification) error
Click to show internal directories.
Click to hide internal directories.