notification.go 529 B

12345678910111213141516
  1. package models
  2. // DiscordConfiguration represents the configuration for the discord
  3. // notification service.
  4. type DiscordConfiguration struct {
  5. Enabled bool `json:"enabled"`
  6. Webhook string `json:"webhook,omitempty"`
  7. GoLiveMessage string `json:"goLiveMessage,omitempty"`
  8. }
  9. // BrowserNotificationConfiguration represents the configuration for
  10. // browser notifications.
  11. type BrowserNotificationConfiguration struct {
  12. Enabled bool `json:"enabled"`
  13. GoLiveMessage string `json:"goLiveMessage,omitempty"`
  14. }