Documentation ¶
Index ¶
Constants ¶
View Source
const CustomConfigKeyAfterStreamStart = "after_start_stream"
View Source
const CustomConfigKeyAfterStreamStop = "after_stop_stream"
View Source
const CustomConfigKeyBeforeStreamStart = "before_start_stream"
View Source
const CustomConfigKeyBeforeStreamStop = "before_stop_stream"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BrowserConfig ¶
type BrowserConfig struct {
Command string `yaml:"command"`
}
type ChatConfig ¶
type ChatConfig struct { CommandOnReceiveMessage string `yaml:"command_on_receive_message,omitempty"` EnableNotifications *bool `yaml:"enable_notifications,omitempty"` EnableReceiveMessageSoundAlarm *bool `yaml:"enable_receive_message_sound_alarm,omitempty"` }
func (ChatConfig) NotificationsEnabled ¶
func (cfg ChatConfig) NotificationsEnabled() bool
func (ChatConfig) ReceiveMessageSoundAlarmEnabled ¶
func (cfg ChatConfig) ReceiveMessageSoundAlarmEnabled() bool
type Config ¶
type Config struct { RemoteStreamDAddr string `yaml:"streamd_remote"` BuiltinStreamD streamd.Config `yaml:"streamd_builtin"` Screenshot ScreenshotConfig `yaml:"screenshot"` Browser BrowserConfig `yaml:"browser"` OAuth OAuthConfig `yaml:"oauth"` Chat ChatConfig `yaml:"chat"` }
func DefaultConfig ¶
func DefaultConfig() Config
type OAuthConfig ¶
type ScreenshotConfig ¶
type ScreenshotConfig struct { Enabled *bool `yaml:"enabled"` screenshot.Config `yaml:"screenshot,inline"` }
Click to show internal directories.
Click to hide internal directories.