Documentation ¶
Index ¶
- func AuditConfig(config ChatterinoConfig) bool
- func AuditHighlights(config ChatterinoConfig) bool
- func GetChatterinoConfigJSON() string
- func GetChatterinoConfigURL() string
- func PushChatterinoConfigChanges(configUpdates ChatterinoConfig)
- type AppearanceConfig
- type BadgeHighlight
- type BehavoirConfig
- type ChatterinoConfig
- type DebugConfig
- type EmotesConfig
- type ExternalsConfig
- type FilterConfig
- type FilteringList
- type HighlightingConfig
- type IndividualHighlight
- type LinksConfig
- type LoggingConfig
- type MessagesAppearanceConfig
- type MiscConfig
- type MiscTwitchConfig
- type NicknameConfig
- type NotificationsSettings
- type SelfHighlightRule
- type SimilarityConfig
- type SplitheaderAppearanceConfig
- type StreamerModeConfig
- type StreamlinkConfig
- type UiConfig
- type WhispersConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuditConfig ¶
func AuditConfig(config ChatterinoConfig) bool
func AuditHighlights ¶
func AuditHighlights(config ChatterinoConfig) bool
func GetChatterinoConfigJSON ¶
func GetChatterinoConfigJSON() string
func GetChatterinoConfigURL ¶
func GetChatterinoConfigURL() string
func PushChatterinoConfigChanges ¶
func PushChatterinoConfigChanges(configUpdates ChatterinoConfig)
Types ¶
type AppearanceConfig ¶
type AppearanceConfig struct { Splitheader SplitheaderAppearanceConfig `json:"splitheader"` Messages MessagesAppearanceConfig `json:"messages"` BoldScale float32 `json:"boldScale"` UiScale2 float32 `json:"UiScale2"` }
type BadgeHighlight ¶
type BehavoirConfig ¶
type ChatterinoConfig ¶
type ChatterinoConfig struct { Behavior BehavoirConfig `json:"behavior"` Misc MiscConfig `json:"misc"` Ui UiConfig `json:"ui"` //Accounts AccountsConfig `json:"accounts"` Highlighting HighlightingConfig `json:"highlighting"` Filtering FilteringList `json:"filtering"` Links LinksConfig `json:"links"` Emotes EmotesConfig `json:"emotes"` Appearance AppearanceConfig `json:"appearance"` Notifications NotificationsSettings `json:"notifications"` Whispers WhispersConfig `json:"whispers"` Debug DebugConfig `json:"debug"` External ExternalsConfig `json:"external"` StreamerMode StreamerModeConfig `json:"streamerMode"` Logging LoggingConfig `json:"logging"` //Hotkeys HotkeysConfig `json:"hotkeys"` Similarity SimilarityConfig `json:"similarity"` Nicknames []NicknameConfig `json:"nicknames"` }
func ParseChatterinoConfigJSON ¶
func ParseChatterinoConfigJSON(jsonString string) ChatterinoConfig
type DebugConfig ¶
type DebugConfig struct {
ShowUnhandledIrcMessages bool `json:"showUnhandledIrcMessages"`
}
type EmotesConfig ¶
type EmotesConfig struct {
EmojiSet string `json:"emojiSet"`
}
type ExternalsConfig ¶
type ExternalsConfig struct {
Streamlink StreamlinkConfig `json:"streamlink"`
}
type FilterConfig ¶
type FilteringList ¶
type FilteringList struct {
Filters []FilterConfig `json:"filters"`
}
type HighlightingConfig ¶
type HighlightingConfig struct { Badges []BadgeHighlight `json:"badges"` Users []IndividualHighlight `json:"users"` SelfHighlight SelfHighlightRule `json:"selfHighlight"` AlwaysPlaySound bool `json:"alwaysPlaySound"` Highlights []IndividualHighlight `json:"highlights"` }
type IndividualHighlight ¶
type LinksConfig ¶
type LoggingConfig ¶
type MiscConfig ¶
type MiscTwitchConfig ¶
type MiscTwitchConfig struct {
LoadMessageHistroyOnConnect bool `json:"loadMessageHistoryOnConnect"`
}
type NicknameConfig ¶
type NotificationsSettings ¶
type SelfHighlightRule ¶
type SelfHighlightRule struct {
EnableSound bool `json:"enableSound"`
}
type SimilarityConfig ¶
type SimilarityConfig struct {
HideSimilarMaxMessagesToCheck int `json:"hideSimilarMaxMessagesToCheck"`
}
type StreamerModeConfig ¶
type StreamlinkConfig ¶
type WhispersConfig ¶
type WhispersConfig struct {
HighlightInlineWhispers bool `json:"highlightInlineWhispers"`
}
Click to show internal directories.
Click to hide internal directories.