Documentation
¶
Index ¶
- type DBVariadic
- type DBVariadic_Exec_Call
- func (_c *DBVariadic_Exec_Call) Return(result sql.Result, err error) *DBVariadic_Exec_Call
- func (_c *DBVariadic_Exec_Call) Run(run func(query string, args ...any)) *DBVariadic_Exec_Call
- func (_c *DBVariadic_Exec_Call) RunAndReturn(run func(query string, args ...any) (sql.Result, error)) *DBVariadic_Exec_Call
- type DBVariadic_Expecter
- type DBVariadic_Query_Call
- func (_c *DBVariadic_Query_Call) Return(rows *sql.Rows, err error) *DBVariadic_Query_Call
- func (_c *DBVariadic_Query_Call) Run(run func(query string, args ...any)) *DBVariadic_Query_Call
- func (_c *DBVariadic_Query_Call) RunAndReturn(run func(query string, args ...any) (*sql.Rows, error)) *DBVariadic_Query_Call
- type MockBTTVEmoteFetcher
- func (_m *MockBTTVEmoteFetcher) EXPECT() *MockBTTVEmoteFetcher_Expecter
- func (_mock *MockBTTVEmoteFetcher) GetChannelEmotes(ctx context.Context, broadcaster string) (bttv.UserResponse, error)
- func (_mock *MockBTTVEmoteFetcher) GetGlobalEmotes(context1 context.Context) (bttv.GlobalEmoteResponse, error)
- type MockBTTVEmoteFetcher_Expecter
- type MockBTTVEmoteFetcher_GetChannelEmotes_Call
- func (_c *MockBTTVEmoteFetcher_GetChannelEmotes_Call) Return(userResponse bttv.UserResponse, err error) *MockBTTVEmoteFetcher_GetChannelEmotes_Call
- func (_c *MockBTTVEmoteFetcher_GetChannelEmotes_Call) Run(run func(ctx context.Context, broadcaster string)) *MockBTTVEmoteFetcher_GetChannelEmotes_Call
- func (_c *MockBTTVEmoteFetcher_GetChannelEmotes_Call) RunAndReturn(run func(ctx context.Context, broadcaster string) (bttv.UserResponse, error)) *MockBTTVEmoteFetcher_GetChannelEmotes_Call
- type MockBTTVEmoteFetcher_GetGlobalEmotes_Call
- func (_c *MockBTTVEmoteFetcher_GetGlobalEmotes_Call) Return(globalEmoteResponse bttv.GlobalEmoteResponse, err error) *MockBTTVEmoteFetcher_GetGlobalEmotes_Call
- func (_c *MockBTTVEmoteFetcher_GetGlobalEmotes_Call) Run(run func(context1 context.Context)) *MockBTTVEmoteFetcher_GetGlobalEmotes_Call
- func (_c *MockBTTVEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn(run func(context1 context.Context) (bttv.GlobalEmoteResponse, error)) *MockBTTVEmoteFetcher_GetGlobalEmotes_Call
- type MockBadgeCache
- type MockBadgeCache_Expecter
- type MockBadgeCache_MatchBadgeSet_Call
- func (_c *MockBadgeCache_MatchBadgeSet_Call) Return(stringToBadgeVersion map[string]twitchapi.BadgeVersion) *MockBadgeCache_MatchBadgeSet_Call
- func (_c *MockBadgeCache_MatchBadgeSet_Call) Run(run func(broadcasterID string, ircBadge []twitchirc.Badge)) *MockBadgeCache_MatchBadgeSet_Call
- func (_c *MockBadgeCache_MatchBadgeSet_Call) RunAndReturn(...) *MockBadgeCache_MatchBadgeSet_Call
- type MockBadgeFetcher
- type MockBadgeFetcher_Expecter
- type MockBadgeFetcher_GetChannelChatBadges_Call
- func (_c *MockBadgeFetcher_GetChannelChatBadges_Call) Return(badgeSets []twitchapi.BadgeSet, err error) *MockBadgeFetcher_GetChannelChatBadges_Call
- func (_c *MockBadgeFetcher_GetChannelChatBadges_Call) Run(run func(ctx context.Context, broadcasterID string)) *MockBadgeFetcher_GetChannelChatBadges_Call
- func (_c *MockBadgeFetcher_GetChannelChatBadges_Call) RunAndReturn(...) *MockBadgeFetcher_GetChannelChatBadges_Call
- type MockBadgeFetcher_GetGlobalChatBadges_Call
- func (_c *MockBadgeFetcher_GetGlobalChatBadges_Call) Return(badgeSets []twitchapi.BadgeSet, err error) *MockBadgeFetcher_GetGlobalChatBadges_Call
- func (_c *MockBadgeFetcher_GetGlobalChatBadges_Call) Run(run func(ctx context.Context)) *MockBadgeFetcher_GetGlobalChatBadges_Call
- func (_c *MockBadgeFetcher_GetGlobalChatBadges_Call) RunAndReturn(run func(ctx context.Context) ([]twitchapi.BadgeSet, error)) *MockBadgeFetcher_GetGlobalChatBadges_Call
- type MockDisplayManager
- type MockDisplayManager_Convert_Call
- func (_c *MockDisplayManager_Convert_Call) Return(kittyDisplayUnit kittyimg.KittyDisplayUnit, err error) *MockDisplayManager_Convert_Call
- func (_c *MockDisplayManager_Convert_Call) Run(run func(unit kittyimg.DisplayUnit)) *MockDisplayManager_Convert_Call
- func (_c *MockDisplayManager_Convert_Call) RunAndReturn(run func(unit kittyimg.DisplayUnit) (kittyimg.KittyDisplayUnit, error)) *MockDisplayManager_Convert_Call
- type MockDisplayManager_Expecter
- type MockEmoteStore
- func (_m *MockEmoteStore) EXPECT() *MockEmoteStore_Expecter
- func (_mock *MockEmoteStore) GetByText(channelID string, text string) (emote.Emote, bool)
- func (_mock *MockEmoteStore) GetByTextAllChannels(text string) (emote.Emote, bool)
- func (_mock *MockEmoteStore) LoadSetForeignEmote(emoteID string, emoteText string) emote.Emote
- type MockEmoteStore_Expecter
- func (_e *MockEmoteStore_Expecter) GetByText(channelID interface{}, text interface{}) *MockEmoteStore_GetByText_Call
- func (_e *MockEmoteStore_Expecter) GetByTextAllChannels(text interface{}) *MockEmoteStore_GetByTextAllChannels_Call
- func (_e *MockEmoteStore_Expecter) LoadSetForeignEmote(emoteID interface{}, emoteText interface{}) *MockEmoteStore_LoadSetForeignEmote_Call
- type MockEmoteStore_GetByTextAllChannels_Call
- func (_c *MockEmoteStore_GetByTextAllChannels_Call) Return(emote1 emote.Emote, b bool) *MockEmoteStore_GetByTextAllChannels_Call
- func (_c *MockEmoteStore_GetByTextAllChannels_Call) Run(run func(text string)) *MockEmoteStore_GetByTextAllChannels_Call
- func (_c *MockEmoteStore_GetByTextAllChannels_Call) RunAndReturn(run func(text string) (emote.Emote, bool)) *MockEmoteStore_GetByTextAllChannels_Call
- type MockEmoteStore_GetByText_Call
- func (_c *MockEmoteStore_GetByText_Call) Return(emote1 emote.Emote, b bool) *MockEmoteStore_GetByText_Call
- func (_c *MockEmoteStore_GetByText_Call) Run(run func(channelID string, text string)) *MockEmoteStore_GetByText_Call
- func (_c *MockEmoteStore_GetByText_Call) RunAndReturn(run func(channelID string, text string) (emote.Emote, bool)) *MockEmoteStore_GetByText_Call
- type MockEmoteStore_LoadSetForeignEmote_Call
- func (_c *MockEmoteStore_LoadSetForeignEmote_Call) Return(emote1 emote.Emote) *MockEmoteStore_LoadSetForeignEmote_Call
- func (_c *MockEmoteStore_LoadSetForeignEmote_Call) Run(run func(emoteID string, emoteText string)) *MockEmoteStore_LoadSetForeignEmote_Call
- func (_c *MockEmoteStore_LoadSetForeignEmote_Call) RunAndReturn(run func(emoteID string, emoteText string) emote.Emote) *MockEmoteStore_LoadSetForeignEmote_Call
- type MockSevenTVEmoteFetcher
- func (_m *MockSevenTVEmoteFetcher) EXPECT() *MockSevenTVEmoteFetcher_Expecter
- func (_mock *MockSevenTVEmoteFetcher) GetChannelEmotes(ctx context.Context, broadcaster string) (seventv.ChannelEmoteResponse, error)
- func (_mock *MockSevenTVEmoteFetcher) GetGlobalEmotes(context1 context.Context) (seventv.EmoteResponse, error)
- type MockSevenTVEmoteFetcher_Expecter
- type MockSevenTVEmoteFetcher_GetChannelEmotes_Call
- func (_c *MockSevenTVEmoteFetcher_GetChannelEmotes_Call) Return(channelEmoteResponse seventv.ChannelEmoteResponse, err error) *MockSevenTVEmoteFetcher_GetChannelEmotes_Call
- func (_c *MockSevenTVEmoteFetcher_GetChannelEmotes_Call) Run(run func(ctx context.Context, broadcaster string)) *MockSevenTVEmoteFetcher_GetChannelEmotes_Call
- func (_c *MockSevenTVEmoteFetcher_GetChannelEmotes_Call) RunAndReturn(...) *MockSevenTVEmoteFetcher_GetChannelEmotes_Call
- type MockSevenTVEmoteFetcher_GetGlobalEmotes_Call
- func (_c *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call) Return(emoteResponse seventv.EmoteResponse, err error) *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call
- func (_c *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call) Run(run func(context1 context.Context)) *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call
- func (_c *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn(run func(context1 context.Context) (seventv.EmoteResponse, error)) *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call
- type MockTwitchEmoteFetcher
- func (_m *MockTwitchEmoteFetcher) EXPECT() *MockTwitchEmoteFetcher_Expecter
- func (_mock *MockTwitchEmoteFetcher) GetChannelEmotes(ctx context.Context, broadcaster string) (twitchapi.EmoteResponse, error)
- func (_mock *MockTwitchEmoteFetcher) GetGlobalEmotes(context1 context.Context) (twitchapi.EmoteResponse, error)
- type MockTwitchEmoteFetcher_Expecter
- type MockTwitchEmoteFetcher_GetChannelEmotes_Call
- func (_c *MockTwitchEmoteFetcher_GetChannelEmotes_Call) Return(emoteResponse twitchapi.EmoteResponse, err error) *MockTwitchEmoteFetcher_GetChannelEmotes_Call
- func (_c *MockTwitchEmoteFetcher_GetChannelEmotes_Call) Run(run func(ctx context.Context, broadcaster string)) *MockTwitchEmoteFetcher_GetChannelEmotes_Call
- func (_c *MockTwitchEmoteFetcher_GetChannelEmotes_Call) RunAndReturn(...) *MockTwitchEmoteFetcher_GetChannelEmotes_Call
- type MockTwitchEmoteFetcher_GetGlobalEmotes_Call
- func (_c *MockTwitchEmoteFetcher_GetGlobalEmotes_Call) Return(emoteResponse twitchapi.EmoteResponse, err error) *MockTwitchEmoteFetcher_GetGlobalEmotes_Call
- func (_c *MockTwitchEmoteFetcher_GetGlobalEmotes_Call) Run(run func(context1 context.Context)) *MockTwitchEmoteFetcher_GetGlobalEmotes_Call
- func (_c *MockTwitchEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn(run func(context1 context.Context) (twitchapi.EmoteResponse, error)) *MockTwitchEmoteFetcher_GetGlobalEmotes_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBVariadic ¶ added in v0.6.2
DBVariadic is an autogenerated mock type for the DB type
func NewDBVariadic ¶ added in v0.6.2
func NewDBVariadic(t interface {
mock.TestingT
Cleanup(func())
}) *DBVariadic
NewDBVariadic creates a new instance of DBVariadic. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DBVariadic) EXPECT ¶ added in v0.6.2
func (_m *DBVariadic) EXPECT() *DBVariadic_Expecter
type DBVariadic_Exec_Call ¶ added in v0.6.2
DBVariadic_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*DBVariadic_Exec_Call) Return ¶ added in v0.6.2
func (_c *DBVariadic_Exec_Call) Return(result sql.Result, err error) *DBVariadic_Exec_Call
func (*DBVariadic_Exec_Call) Run ¶ added in v0.6.2
func (_c *DBVariadic_Exec_Call) Run(run func(query string, args ...any)) *DBVariadic_Exec_Call
func (*DBVariadic_Exec_Call) RunAndReturn ¶ added in v0.6.2
func (_c *DBVariadic_Exec_Call) RunAndReturn(run func(query string, args ...any) (sql.Result, error)) *DBVariadic_Exec_Call
type DBVariadic_Expecter ¶ added in v0.6.2
type DBVariadic_Expecter struct {
// contains filtered or unexported fields
}
func (*DBVariadic_Expecter) Exec ¶ added in v0.6.2
func (_e *DBVariadic_Expecter) Exec(query interface{}, args ...interface{}) *DBVariadic_Exec_Call
Exec is a helper method to define mock.On call
- query string
- args ...any
func (*DBVariadic_Expecter) Query ¶ added in v0.6.2
func (_e *DBVariadic_Expecter) Query(query interface{}, args ...interface{}) *DBVariadic_Query_Call
Query is a helper method to define mock.On call
- query string
- args ...any
type DBVariadic_Query_Call ¶ added in v0.6.2
DBVariadic_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*DBVariadic_Query_Call) Return ¶ added in v0.6.2
func (_c *DBVariadic_Query_Call) Return(rows *sql.Rows, err error) *DBVariadic_Query_Call
func (*DBVariadic_Query_Call) Run ¶ added in v0.6.2
func (_c *DBVariadic_Query_Call) Run(run func(query string, args ...any)) *DBVariadic_Query_Call
func (*DBVariadic_Query_Call) RunAndReturn ¶ added in v0.6.2
func (_c *DBVariadic_Query_Call) RunAndReturn(run func(query string, args ...any) (*sql.Rows, error)) *DBVariadic_Query_Call
type MockBTTVEmoteFetcher ¶ added in v0.6.2
MockBTTVEmoteFetcher is an autogenerated mock type for the BTTVEmoteFetcher type
func NewMockBTTVEmoteFetcher ¶ added in v0.6.2
func NewMockBTTVEmoteFetcher(t interface {
mock.TestingT
Cleanup(func())
}) *MockBTTVEmoteFetcher
NewMockBTTVEmoteFetcher creates a new instance of MockBTTVEmoteFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockBTTVEmoteFetcher) EXPECT ¶ added in v0.6.2
func (_m *MockBTTVEmoteFetcher) EXPECT() *MockBTTVEmoteFetcher_Expecter
func (*MockBTTVEmoteFetcher) GetChannelEmotes ¶ added in v0.6.2
func (_mock *MockBTTVEmoteFetcher) GetChannelEmotes(ctx context.Context, broadcaster string) (bttv.UserResponse, error)
GetChannelEmotes provides a mock function for the type MockBTTVEmoteFetcher
func (*MockBTTVEmoteFetcher) GetGlobalEmotes ¶ added in v0.6.2
func (_mock *MockBTTVEmoteFetcher) GetGlobalEmotes(context1 context.Context) (bttv.GlobalEmoteResponse, error)
GetGlobalEmotes provides a mock function for the type MockBTTVEmoteFetcher
type MockBTTVEmoteFetcher_Expecter ¶ added in v0.6.2
type MockBTTVEmoteFetcher_Expecter struct {
// contains filtered or unexported fields
}
func (*MockBTTVEmoteFetcher_Expecter) GetChannelEmotes ¶ added in v0.6.2
func (_e *MockBTTVEmoteFetcher_Expecter) GetChannelEmotes(ctx interface{}, broadcaster interface{}) *MockBTTVEmoteFetcher_GetChannelEmotes_Call
GetChannelEmotes is a helper method to define mock.On call
- ctx context.Context
- broadcaster string
func (*MockBTTVEmoteFetcher_Expecter) GetGlobalEmotes ¶ added in v0.6.2
func (_e *MockBTTVEmoteFetcher_Expecter) GetGlobalEmotes(context1 interface{}) *MockBTTVEmoteFetcher_GetGlobalEmotes_Call
GetGlobalEmotes is a helper method to define mock.On call
- context1 context.Context
type MockBTTVEmoteFetcher_GetChannelEmotes_Call ¶ added in v0.6.2
MockBTTVEmoteFetcher_GetChannelEmotes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelEmotes'
func (*MockBTTVEmoteFetcher_GetChannelEmotes_Call) Return ¶ added in v0.6.2
func (_c *MockBTTVEmoteFetcher_GetChannelEmotes_Call) Return(userResponse bttv.UserResponse, err error) *MockBTTVEmoteFetcher_GetChannelEmotes_Call
func (*MockBTTVEmoteFetcher_GetChannelEmotes_Call) Run ¶ added in v0.6.2
func (_c *MockBTTVEmoteFetcher_GetChannelEmotes_Call) Run(run func(ctx context.Context, broadcaster string)) *MockBTTVEmoteFetcher_GetChannelEmotes_Call
func (*MockBTTVEmoteFetcher_GetChannelEmotes_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockBTTVEmoteFetcher_GetChannelEmotes_Call) RunAndReturn(run func(ctx context.Context, broadcaster string) (bttv.UserResponse, error)) *MockBTTVEmoteFetcher_GetChannelEmotes_Call
type MockBTTVEmoteFetcher_GetGlobalEmotes_Call ¶ added in v0.6.2
MockBTTVEmoteFetcher_GetGlobalEmotes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGlobalEmotes'
func (*MockBTTVEmoteFetcher_GetGlobalEmotes_Call) Return ¶ added in v0.6.2
func (_c *MockBTTVEmoteFetcher_GetGlobalEmotes_Call) Return(globalEmoteResponse bttv.GlobalEmoteResponse, err error) *MockBTTVEmoteFetcher_GetGlobalEmotes_Call
func (*MockBTTVEmoteFetcher_GetGlobalEmotes_Call) Run ¶ added in v0.6.2
func (_c *MockBTTVEmoteFetcher_GetGlobalEmotes_Call) Run(run func(context1 context.Context)) *MockBTTVEmoteFetcher_GetGlobalEmotes_Call
func (*MockBTTVEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockBTTVEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn(run func(context1 context.Context) (bttv.GlobalEmoteResponse, error)) *MockBTTVEmoteFetcher_GetGlobalEmotes_Call
type MockBadgeCache ¶ added in v0.6.2
MockBadgeCache is an autogenerated mock type for the BadgeCache type
func NewMockBadgeCache ¶ added in v0.6.2
func NewMockBadgeCache(t interface {
mock.TestingT
Cleanup(func())
}) *MockBadgeCache
NewMockBadgeCache creates a new instance of MockBadgeCache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockBadgeCache) EXPECT ¶ added in v0.6.2
func (_m *MockBadgeCache) EXPECT() *MockBadgeCache_Expecter
func (*MockBadgeCache) MatchBadgeSet ¶ added in v0.6.2
func (_mock *MockBadgeCache) MatchBadgeSet(broadcasterID string, ircBadge []twitchirc.Badge) map[string]twitchapi.BadgeVersion
MatchBadgeSet provides a mock function for the type MockBadgeCache
type MockBadgeCache_Expecter ¶ added in v0.6.2
type MockBadgeCache_Expecter struct {
// contains filtered or unexported fields
}
func (*MockBadgeCache_Expecter) MatchBadgeSet ¶ added in v0.6.2
func (_e *MockBadgeCache_Expecter) MatchBadgeSet(broadcasterID interface{}, ircBadge interface{}) *MockBadgeCache_MatchBadgeSet_Call
MatchBadgeSet is a helper method to define mock.On call
- broadcasterID string
- ircBadge []twitchirc.Badge
type MockBadgeCache_MatchBadgeSet_Call ¶ added in v0.6.2
MockBadgeCache_MatchBadgeSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MatchBadgeSet'
func (*MockBadgeCache_MatchBadgeSet_Call) Return ¶ added in v0.6.2
func (_c *MockBadgeCache_MatchBadgeSet_Call) Return(stringToBadgeVersion map[string]twitchapi.BadgeVersion) *MockBadgeCache_MatchBadgeSet_Call
func (*MockBadgeCache_MatchBadgeSet_Call) Run ¶ added in v0.6.2
func (_c *MockBadgeCache_MatchBadgeSet_Call) Run(run func(broadcasterID string, ircBadge []twitchirc.Badge)) *MockBadgeCache_MatchBadgeSet_Call
func (*MockBadgeCache_MatchBadgeSet_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockBadgeCache_MatchBadgeSet_Call) RunAndReturn(run func(broadcasterID string, ircBadge []twitchirc.Badge) map[string]twitchapi.BadgeVersion) *MockBadgeCache_MatchBadgeSet_Call
type MockBadgeFetcher ¶ added in v0.6.2
MockBadgeFetcher is an autogenerated mock type for the BadgeFetcher type
func NewMockBadgeFetcher ¶ added in v0.6.2
func NewMockBadgeFetcher(t interface {
mock.TestingT
Cleanup(func())
}) *MockBadgeFetcher
NewMockBadgeFetcher creates a new instance of MockBadgeFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockBadgeFetcher) EXPECT ¶ added in v0.6.2
func (_m *MockBadgeFetcher) EXPECT() *MockBadgeFetcher_Expecter
func (*MockBadgeFetcher) GetChannelChatBadges ¶ added in v0.6.2
func (_mock *MockBadgeFetcher) GetChannelChatBadges(ctx context.Context, broadcasterID string) ([]twitchapi.BadgeSet, error)
GetChannelChatBadges provides a mock function for the type MockBadgeFetcher
func (*MockBadgeFetcher) GetGlobalChatBadges ¶ added in v0.6.2
func (_mock *MockBadgeFetcher) GetGlobalChatBadges(ctx context.Context) ([]twitchapi.BadgeSet, error)
GetGlobalChatBadges provides a mock function for the type MockBadgeFetcher
type MockBadgeFetcher_Expecter ¶ added in v0.6.2
type MockBadgeFetcher_Expecter struct {
// contains filtered or unexported fields
}
func (*MockBadgeFetcher_Expecter) GetChannelChatBadges ¶ added in v0.6.2
func (_e *MockBadgeFetcher_Expecter) GetChannelChatBadges(ctx interface{}, broadcasterID interface{}) *MockBadgeFetcher_GetChannelChatBadges_Call
GetChannelChatBadges is a helper method to define mock.On call
- ctx context.Context
- broadcasterID string
func (*MockBadgeFetcher_Expecter) GetGlobalChatBadges ¶ added in v0.6.2
func (_e *MockBadgeFetcher_Expecter) GetGlobalChatBadges(ctx interface{}) *MockBadgeFetcher_GetGlobalChatBadges_Call
GetGlobalChatBadges is a helper method to define mock.On call
- ctx context.Context
type MockBadgeFetcher_GetChannelChatBadges_Call ¶ added in v0.6.2
MockBadgeFetcher_GetChannelChatBadges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelChatBadges'
func (*MockBadgeFetcher_GetChannelChatBadges_Call) Return ¶ added in v0.6.2
func (_c *MockBadgeFetcher_GetChannelChatBadges_Call) Return(badgeSets []twitchapi.BadgeSet, err error) *MockBadgeFetcher_GetChannelChatBadges_Call
func (*MockBadgeFetcher_GetChannelChatBadges_Call) Run ¶ added in v0.6.2
func (_c *MockBadgeFetcher_GetChannelChatBadges_Call) Run(run func(ctx context.Context, broadcasterID string)) *MockBadgeFetcher_GetChannelChatBadges_Call
func (*MockBadgeFetcher_GetChannelChatBadges_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockBadgeFetcher_GetChannelChatBadges_Call) RunAndReturn(run func(ctx context.Context, broadcasterID string) ([]twitchapi.BadgeSet, error)) *MockBadgeFetcher_GetChannelChatBadges_Call
type MockBadgeFetcher_GetGlobalChatBadges_Call ¶ added in v0.6.2
MockBadgeFetcher_GetGlobalChatBadges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGlobalChatBadges'
func (*MockBadgeFetcher_GetGlobalChatBadges_Call) Return ¶ added in v0.6.2
func (_c *MockBadgeFetcher_GetGlobalChatBadges_Call) Return(badgeSets []twitchapi.BadgeSet, err error) *MockBadgeFetcher_GetGlobalChatBadges_Call
func (*MockBadgeFetcher_GetGlobalChatBadges_Call) Run ¶ added in v0.6.2
func (_c *MockBadgeFetcher_GetGlobalChatBadges_Call) Run(run func(ctx context.Context)) *MockBadgeFetcher_GetGlobalChatBadges_Call
func (*MockBadgeFetcher_GetGlobalChatBadges_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockBadgeFetcher_GetGlobalChatBadges_Call) RunAndReturn(run func(ctx context.Context) ([]twitchapi.BadgeSet, error)) *MockBadgeFetcher_GetGlobalChatBadges_Call
type MockDisplayManager ¶ added in v0.6.2
MockDisplayManager is an autogenerated mock type for the DisplayManager type
func NewMockDisplayManager ¶ added in v0.6.2
func NewMockDisplayManager(t interface {
mock.TestingT
Cleanup(func())
}) *MockDisplayManager
NewMockDisplayManager creates a new instance of MockDisplayManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockDisplayManager) Convert ¶ added in v0.6.2
func (_mock *MockDisplayManager) Convert(unit kittyimg.DisplayUnit) (kittyimg.KittyDisplayUnit, error)
Convert provides a mock function for the type MockDisplayManager
func (*MockDisplayManager) EXPECT ¶ added in v0.6.2
func (_m *MockDisplayManager) EXPECT() *MockDisplayManager_Expecter
type MockDisplayManager_Convert_Call ¶ added in v0.6.2
MockDisplayManager_Convert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Convert'
func (*MockDisplayManager_Convert_Call) Return ¶ added in v0.6.2
func (_c *MockDisplayManager_Convert_Call) Return(kittyDisplayUnit kittyimg.KittyDisplayUnit, err error) *MockDisplayManager_Convert_Call
func (*MockDisplayManager_Convert_Call) Run ¶ added in v0.6.2
func (_c *MockDisplayManager_Convert_Call) Run(run func(unit kittyimg.DisplayUnit)) *MockDisplayManager_Convert_Call
func (*MockDisplayManager_Convert_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockDisplayManager_Convert_Call) RunAndReturn(run func(unit kittyimg.DisplayUnit) (kittyimg.KittyDisplayUnit, error)) *MockDisplayManager_Convert_Call
type MockDisplayManager_Expecter ¶ added in v0.6.2
type MockDisplayManager_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDisplayManager_Expecter) Convert ¶ added in v0.6.2
func (_e *MockDisplayManager_Expecter) Convert(unit interface{}) *MockDisplayManager_Convert_Call
Convert is a helper method to define mock.On call
- unit kittyimg.DisplayUnit
type MockEmoteStore ¶ added in v0.6.2
MockEmoteStore is an autogenerated mock type for the EmoteStore type
func NewMockEmoteStore ¶ added in v0.6.2
func NewMockEmoteStore(t interface {
mock.TestingT
Cleanup(func())
}) *MockEmoteStore
NewMockEmoteStore creates a new instance of MockEmoteStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockEmoteStore) EXPECT ¶ added in v0.6.2
func (_m *MockEmoteStore) EXPECT() *MockEmoteStore_Expecter
func (*MockEmoteStore) GetByText ¶ added in v0.6.2
GetByText provides a mock function for the type MockEmoteStore
func (*MockEmoteStore) GetByTextAllChannels ¶ added in v0.6.2
func (_mock *MockEmoteStore) GetByTextAllChannels(text string) (emote.Emote, bool)
GetByTextAllChannels provides a mock function for the type MockEmoteStore
func (*MockEmoteStore) LoadSetForeignEmote ¶ added in v0.6.2
func (_mock *MockEmoteStore) LoadSetForeignEmote(emoteID string, emoteText string) emote.Emote
LoadSetForeignEmote provides a mock function for the type MockEmoteStore
type MockEmoteStore_Expecter ¶ added in v0.6.2
type MockEmoteStore_Expecter struct {
// contains filtered or unexported fields
}
func (*MockEmoteStore_Expecter) GetByText ¶ added in v0.6.2
func (_e *MockEmoteStore_Expecter) GetByText(channelID interface{}, text interface{}) *MockEmoteStore_GetByText_Call
GetByText is a helper method to define mock.On call
- channelID string
- text string
func (*MockEmoteStore_Expecter) GetByTextAllChannels ¶ added in v0.6.2
func (_e *MockEmoteStore_Expecter) GetByTextAllChannels(text interface{}) *MockEmoteStore_GetByTextAllChannels_Call
GetByTextAllChannels is a helper method to define mock.On call
- text string
func (*MockEmoteStore_Expecter) LoadSetForeignEmote ¶ added in v0.6.2
func (_e *MockEmoteStore_Expecter) LoadSetForeignEmote(emoteID interface{}, emoteText interface{}) *MockEmoteStore_LoadSetForeignEmote_Call
LoadSetForeignEmote is a helper method to define mock.On call
- emoteID string
- emoteText string
type MockEmoteStore_GetByTextAllChannels_Call ¶ added in v0.6.2
MockEmoteStore_GetByTextAllChannels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByTextAllChannels'
func (*MockEmoteStore_GetByTextAllChannels_Call) Return ¶ added in v0.6.2
func (_c *MockEmoteStore_GetByTextAllChannels_Call) Return(emote1 emote.Emote, b bool) *MockEmoteStore_GetByTextAllChannels_Call
func (*MockEmoteStore_GetByTextAllChannels_Call) Run ¶ added in v0.6.2
func (_c *MockEmoteStore_GetByTextAllChannels_Call) Run(run func(text string)) *MockEmoteStore_GetByTextAllChannels_Call
func (*MockEmoteStore_GetByTextAllChannels_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockEmoteStore_GetByTextAllChannels_Call) RunAndReturn(run func(text string) (emote.Emote, bool)) *MockEmoteStore_GetByTextAllChannels_Call
type MockEmoteStore_GetByText_Call ¶ added in v0.6.2
MockEmoteStore_GetByText_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByText'
func (*MockEmoteStore_GetByText_Call) Return ¶ added in v0.6.2
func (_c *MockEmoteStore_GetByText_Call) Return(emote1 emote.Emote, b bool) *MockEmoteStore_GetByText_Call
func (*MockEmoteStore_GetByText_Call) Run ¶ added in v0.6.2
func (_c *MockEmoteStore_GetByText_Call) Run(run func(channelID string, text string)) *MockEmoteStore_GetByText_Call
func (*MockEmoteStore_GetByText_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockEmoteStore_GetByText_Call) RunAndReturn(run func(channelID string, text string) (emote.Emote, bool)) *MockEmoteStore_GetByText_Call
type MockEmoteStore_LoadSetForeignEmote_Call ¶ added in v0.6.2
MockEmoteStore_LoadSetForeignEmote_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadSetForeignEmote'
func (*MockEmoteStore_LoadSetForeignEmote_Call) Return ¶ added in v0.6.2
func (_c *MockEmoteStore_LoadSetForeignEmote_Call) Return(emote1 emote.Emote) *MockEmoteStore_LoadSetForeignEmote_Call
func (*MockEmoteStore_LoadSetForeignEmote_Call) Run ¶ added in v0.6.2
func (_c *MockEmoteStore_LoadSetForeignEmote_Call) Run(run func(emoteID string, emoteText string)) *MockEmoteStore_LoadSetForeignEmote_Call
func (*MockEmoteStore_LoadSetForeignEmote_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockEmoteStore_LoadSetForeignEmote_Call) RunAndReturn(run func(emoteID string, emoteText string) emote.Emote) *MockEmoteStore_LoadSetForeignEmote_Call
type MockSevenTVEmoteFetcher ¶ added in v0.6.2
MockSevenTVEmoteFetcher is an autogenerated mock type for the SevenTVEmoteFetcher type
func NewMockSevenTVEmoteFetcher ¶ added in v0.6.2
func NewMockSevenTVEmoteFetcher(t interface {
mock.TestingT
Cleanup(func())
}) *MockSevenTVEmoteFetcher
NewMockSevenTVEmoteFetcher creates a new instance of MockSevenTVEmoteFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockSevenTVEmoteFetcher) EXPECT ¶ added in v0.6.2
func (_m *MockSevenTVEmoteFetcher) EXPECT() *MockSevenTVEmoteFetcher_Expecter
func (*MockSevenTVEmoteFetcher) GetChannelEmotes ¶ added in v0.6.2
func (_mock *MockSevenTVEmoteFetcher) GetChannelEmotes(ctx context.Context, broadcaster string) (seventv.ChannelEmoteResponse, error)
GetChannelEmotes provides a mock function for the type MockSevenTVEmoteFetcher
func (*MockSevenTVEmoteFetcher) GetGlobalEmotes ¶ added in v0.6.2
func (_mock *MockSevenTVEmoteFetcher) GetGlobalEmotes(context1 context.Context) (seventv.EmoteResponse, error)
GetGlobalEmotes provides a mock function for the type MockSevenTVEmoteFetcher
type MockSevenTVEmoteFetcher_Expecter ¶ added in v0.6.2
type MockSevenTVEmoteFetcher_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSevenTVEmoteFetcher_Expecter) GetChannelEmotes ¶ added in v0.6.2
func (_e *MockSevenTVEmoteFetcher_Expecter) GetChannelEmotes(ctx interface{}, broadcaster interface{}) *MockSevenTVEmoteFetcher_GetChannelEmotes_Call
GetChannelEmotes is a helper method to define mock.On call
- ctx context.Context
- broadcaster string
func (*MockSevenTVEmoteFetcher_Expecter) GetGlobalEmotes ¶ added in v0.6.2
func (_e *MockSevenTVEmoteFetcher_Expecter) GetGlobalEmotes(context1 interface{}) *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call
GetGlobalEmotes is a helper method to define mock.On call
- context1 context.Context
type MockSevenTVEmoteFetcher_GetChannelEmotes_Call ¶ added in v0.6.2
MockSevenTVEmoteFetcher_GetChannelEmotes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelEmotes'
func (*MockSevenTVEmoteFetcher_GetChannelEmotes_Call) Return ¶ added in v0.6.2
func (_c *MockSevenTVEmoteFetcher_GetChannelEmotes_Call) Return(channelEmoteResponse seventv.ChannelEmoteResponse, err error) *MockSevenTVEmoteFetcher_GetChannelEmotes_Call
func (*MockSevenTVEmoteFetcher_GetChannelEmotes_Call) Run ¶ added in v0.6.2
func (_c *MockSevenTVEmoteFetcher_GetChannelEmotes_Call) Run(run func(ctx context.Context, broadcaster string)) *MockSevenTVEmoteFetcher_GetChannelEmotes_Call
func (*MockSevenTVEmoteFetcher_GetChannelEmotes_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockSevenTVEmoteFetcher_GetChannelEmotes_Call) RunAndReturn(run func(ctx context.Context, broadcaster string) (seventv.ChannelEmoteResponse, error)) *MockSevenTVEmoteFetcher_GetChannelEmotes_Call
type MockSevenTVEmoteFetcher_GetGlobalEmotes_Call ¶ added in v0.6.2
MockSevenTVEmoteFetcher_GetGlobalEmotes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGlobalEmotes'
func (*MockSevenTVEmoteFetcher_GetGlobalEmotes_Call) Return ¶ added in v0.6.2
func (_c *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call) Return(emoteResponse seventv.EmoteResponse, err error) *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call
func (*MockSevenTVEmoteFetcher_GetGlobalEmotes_Call) Run ¶ added in v0.6.2
func (_c *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call) Run(run func(context1 context.Context)) *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call
func (*MockSevenTVEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn(run func(context1 context.Context) (seventv.EmoteResponse, error)) *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call
type MockTwitchEmoteFetcher ¶ added in v0.6.2
MockTwitchEmoteFetcher is an autogenerated mock type for the TwitchEmoteFetcher type
func NewMockTwitchEmoteFetcher ¶ added in v0.6.2
func NewMockTwitchEmoteFetcher(t interface {
mock.TestingT
Cleanup(func())
}) *MockTwitchEmoteFetcher
NewMockTwitchEmoteFetcher creates a new instance of MockTwitchEmoteFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTwitchEmoteFetcher) EXPECT ¶ added in v0.6.2
func (_m *MockTwitchEmoteFetcher) EXPECT() *MockTwitchEmoteFetcher_Expecter
func (*MockTwitchEmoteFetcher) GetChannelEmotes ¶ added in v0.6.2
func (_mock *MockTwitchEmoteFetcher) GetChannelEmotes(ctx context.Context, broadcaster string) (twitchapi.EmoteResponse, error)
GetChannelEmotes provides a mock function for the type MockTwitchEmoteFetcher
func (*MockTwitchEmoteFetcher) GetGlobalEmotes ¶ added in v0.6.2
func (_mock *MockTwitchEmoteFetcher) GetGlobalEmotes(context1 context.Context) (twitchapi.EmoteResponse, error)
GetGlobalEmotes provides a mock function for the type MockTwitchEmoteFetcher
type MockTwitchEmoteFetcher_Expecter ¶ added in v0.6.2
type MockTwitchEmoteFetcher_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTwitchEmoteFetcher_Expecter) GetChannelEmotes ¶ added in v0.6.2
func (_e *MockTwitchEmoteFetcher_Expecter) GetChannelEmotes(ctx interface{}, broadcaster interface{}) *MockTwitchEmoteFetcher_GetChannelEmotes_Call
GetChannelEmotes is a helper method to define mock.On call
- ctx context.Context
- broadcaster string
func (*MockTwitchEmoteFetcher_Expecter) GetGlobalEmotes ¶ added in v0.6.2
func (_e *MockTwitchEmoteFetcher_Expecter) GetGlobalEmotes(context1 interface{}) *MockTwitchEmoteFetcher_GetGlobalEmotes_Call
GetGlobalEmotes is a helper method to define mock.On call
- context1 context.Context
type MockTwitchEmoteFetcher_GetChannelEmotes_Call ¶ added in v0.6.2
MockTwitchEmoteFetcher_GetChannelEmotes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChannelEmotes'
func (*MockTwitchEmoteFetcher_GetChannelEmotes_Call) Return ¶ added in v0.6.2
func (_c *MockTwitchEmoteFetcher_GetChannelEmotes_Call) Return(emoteResponse twitchapi.EmoteResponse, err error) *MockTwitchEmoteFetcher_GetChannelEmotes_Call
func (*MockTwitchEmoteFetcher_GetChannelEmotes_Call) Run ¶ added in v0.6.2
func (_c *MockTwitchEmoteFetcher_GetChannelEmotes_Call) Run(run func(ctx context.Context, broadcaster string)) *MockTwitchEmoteFetcher_GetChannelEmotes_Call
func (*MockTwitchEmoteFetcher_GetChannelEmotes_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockTwitchEmoteFetcher_GetChannelEmotes_Call) RunAndReturn(run func(ctx context.Context, broadcaster string) (twitchapi.EmoteResponse, error)) *MockTwitchEmoteFetcher_GetChannelEmotes_Call
type MockTwitchEmoteFetcher_GetGlobalEmotes_Call ¶ added in v0.6.2
MockTwitchEmoteFetcher_GetGlobalEmotes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGlobalEmotes'
func (*MockTwitchEmoteFetcher_GetGlobalEmotes_Call) Return ¶ added in v0.6.2
func (_c *MockTwitchEmoteFetcher_GetGlobalEmotes_Call) Return(emoteResponse twitchapi.EmoteResponse, err error) *MockTwitchEmoteFetcher_GetGlobalEmotes_Call
func (*MockTwitchEmoteFetcher_GetGlobalEmotes_Call) Run ¶ added in v0.6.2
func (_c *MockTwitchEmoteFetcher_GetGlobalEmotes_Call) Run(run func(context1 context.Context)) *MockTwitchEmoteFetcher_GetGlobalEmotes_Call
func (*MockTwitchEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn ¶ added in v0.6.2
func (_c *MockTwitchEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn(run func(context1 context.Context) (twitchapi.EmoteResponse, error)) *MockTwitchEmoteFetcher_GetGlobalEmotes_Call