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 APIClientWithRefresh 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)
RefreshToken(ctx context.Context, refreshToken string) (string, string, error)
}
type AccountProvider ¶
type EmoteStore ¶
type Root ¶
type Root struct {
// contains filtered or unexported fields
}
func NewUI ¶
func NewUI(logger zerolog.Logger, provider AccountProvider, emoteStore EmoteStore, clientID string, serverClient APIClientWithRefresh, keymap save.KeyMap) *Root
func (*Root) TakeStateSnapshot ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.