Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶ added in v0.0.4
type APIClient interface { GetUsers(ctx context.Context, logins []string, ids []string) (twitch.UserResponse, error) GetStreamInfo(ctx context.Context, broadcastID []string) (twitch.GetStreamsResponse, error) GetChatSettings(ctx context.Context, broadcasterID string, moderatorID string) (twitch.GetChatSettingsResponse, error) }
type APIClientWithRefresh ¶ added in v0.0.4
type AccountProvider ¶
type ChatPool ¶ added in v0.0.10
type ChatPool interface {
ListenAndServe(inbound <-chan multiplex.InboundMessage) <-chan multiplex.OutboundMessage
}
type EmoteReplacer ¶ added in v0.4.0
type EmoteStore ¶
type EventSubMessage ¶ added in v0.3.0
type EventSubMessage struct {
Payload eventsub.Message[eventsub.NotificationPayload]
}
type EventSubPool ¶ added in v0.3.0
type EventSubPool interface {
ListenAndServe(inbound <-chan multiplex.EventSubInboundMessage) error
}
type RecentMessageService ¶ added in v0.3.0
type Root ¶
type Root struct {
// contains filtered or unexported fields
}
func NewUI ¶
func NewUI( logger zerolog.Logger, provider AccountProvider, chatPool ChatPool, emoteStore EmoteStore, clientID string, serverClient APIClientWithRefresh, keymap save.KeyMap, recentMessageService RecentMessageService, eventSub EventSubPool, messageLoggerChan chan<- *command.PrivateMessage, emoteReplacer EmoteReplacer, ) *Root
func (*Root) TakeStateSnapshot ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.