mirror of
https://github.com/owncast/owncast.git
synced 2024-12-18 15:23:55 +03:00
16 lines
529 B
Go
16 lines
529 B
Go
package models
|
|
|
|
// DiscordConfiguration represents the configuration for the discord
|
|
// notification service.
|
|
type DiscordConfiguration struct {
|
|
Enabled bool `json:"enabled"`
|
|
Webhook string `json:"webhook,omitempty"`
|
|
GoLiveMessage string `json:"goLiveMessage,omitempty"`
|
|
}
|
|
|
|
// BrowserNotificationConfiguration represents the configuration for
|
|
// browser notifications.
|
|
type BrowserNotificationConfiguration struct {
|
|
Enabled bool `json:"enabled"`
|
|
GoLiveMessage string `json:"goLiveMessage,omitempty"`
|
|
}
|