Documentation ¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockTwitchClientT
- func (m *MockTwitchClientT) Connect() error
- func (m *MockTwitchClientT) Depart(channel string)
- func (m *MockTwitchClientT) Disconnect() error
- func (m *MockTwitchClientT) EXPECT() *MockTwitchClientTMockRecorder
- func (m *MockTwitchClientT) Join(channel string)
- func (m *MockTwitchClientT) OnConnect(callback func())
- func (m *MockTwitchClientT) OnPrivateMessage(callback func(go_twitch_irc.PrivateMessage))
- func (m *MockTwitchClientT) Say(channel, text string)
- type MockTwitchClientTMockRecorder
- func (mr *MockTwitchClientTMockRecorder) Connect() *gomock.Call
- func (mr *MockTwitchClientTMockRecorder) Depart(channel interface{}) *gomock.Call
- func (mr *MockTwitchClientTMockRecorder) Disconnect() *gomock.Call
- func (mr *MockTwitchClientTMockRecorder) Join(channel interface{}) *gomock.Call
- func (mr *MockTwitchClientTMockRecorder) OnConnect(callback interface{}) *gomock.Call
- func (mr *MockTwitchClientTMockRecorder) OnPrivateMessage(callback interface{}) *gomock.Call
- func (mr *MockTwitchClientTMockRecorder) Say(channel, text interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTwitchClientT ¶
type MockTwitchClientT struct {
// contains filtered or unexported fields
}
MockTwitchClientT is a mock of TwitchClientT interface
func NewMockTwitchClientT ¶
func NewMockTwitchClientT(ctrl *gomock.Controller) *MockTwitchClientT
NewMockTwitchClientT creates a new mock instance
func (*MockTwitchClientT) Connect ¶
func (m *MockTwitchClientT) Connect() error
Connect mocks base method
func (*MockTwitchClientT) Depart ¶
func (m *MockTwitchClientT) Depart(channel string)
Depart mocks base method
func (*MockTwitchClientT) Disconnect ¶
func (m *MockTwitchClientT) Disconnect() error
Disconnect mocks base method
func (*MockTwitchClientT) EXPECT ¶
func (m *MockTwitchClientT) EXPECT() *MockTwitchClientTMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTwitchClientT) Join ¶
func (m *MockTwitchClientT) Join(channel string)
Join mocks base method
func (*MockTwitchClientT) OnConnect ¶
func (m *MockTwitchClientT) OnConnect(callback func())
OnConnect mocks base method
func (*MockTwitchClientT) OnPrivateMessage ¶
func (m *MockTwitchClientT) OnPrivateMessage(callback func(go_twitch_irc.PrivateMessage))
OnPrivateMessage mocks base method
func (*MockTwitchClientT) Say ¶
func (m *MockTwitchClientT) Say(channel, text string)
Say mocks base method
type MockTwitchClientTMockRecorder ¶
type MockTwitchClientTMockRecorder struct {
// contains filtered or unexported fields
}
MockTwitchClientTMockRecorder is the mock recorder for MockTwitchClientT
func (*MockTwitchClientTMockRecorder) Connect ¶
func (mr *MockTwitchClientTMockRecorder) Connect() *gomock.Call
Connect indicates an expected call of Connect
func (*MockTwitchClientTMockRecorder) Depart ¶
func (mr *MockTwitchClientTMockRecorder) Depart(channel interface{}) *gomock.Call
Depart indicates an expected call of Depart
func (*MockTwitchClientTMockRecorder) Disconnect ¶
func (mr *MockTwitchClientTMockRecorder) Disconnect() *gomock.Call
Disconnect indicates an expected call of Disconnect
func (*MockTwitchClientTMockRecorder) Join ¶
func (mr *MockTwitchClientTMockRecorder) Join(channel interface{}) *gomock.Call
Join indicates an expected call of Join
func (*MockTwitchClientTMockRecorder) OnConnect ¶
func (mr *MockTwitchClientTMockRecorder) OnConnect(callback interface{}) *gomock.Call
OnConnect indicates an expected call of OnConnect
func (*MockTwitchClientTMockRecorder) OnPrivateMessage ¶
func (mr *MockTwitchClientTMockRecorder) OnPrivateMessage(callback interface{}) *gomock.Call
OnPrivateMessage indicates an expected call of OnPrivateMessage
func (*MockTwitchClientTMockRecorder) Say ¶
func (mr *MockTwitchClientTMockRecorder) Say(channel, text interface{}) *gomock.Call
Say indicates an expected call of Say