Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AddReaction(arg0 string, arg1 *slack.Message) error
- func (m *MockClient) BotID() string
- func (m *MockClient) BotName() string
- func (m *MockClient) ConversationID(arg0 string) string
- func (m *MockClient) ConversationName(arg0 string) string
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Listen(arg0 chan<- *slack.Message, arg1 chan<- *slack.Reaction)
- func (m *MockClient) ParseTimestamp(arg0 string) (time.Time, error)
- func (m *MockClient) SendMessage(arg0, arg1 string)
- func (m *MockClient) TeamID() string
- func (m *MockClient) TeamName() string
- func (m *MockClient) UserID(arg0 string) string
- func (m *MockClient) UserName(arg0 string) string
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AddReaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) BotID() *gomock.Call
- func (mr *MockClientMockRecorder) BotName() *gomock.Call
- func (mr *MockClientMockRecorder) ConversationID(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ConversationName(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Listen(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ParseTimestamp(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SendMessage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TeamID() *gomock.Call
- func (mr *MockClientMockRecorder) TeamName() *gomock.Call
- func (mr *MockClientMockRecorder) UserID(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UserName(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) AddReaction ¶
func (m *MockClient) AddReaction(arg0 string, arg1 *slack.Message) error
AddReaction mocks base method
func (*MockClient) ConversationID ¶
func (m *MockClient) ConversationID(arg0 string) string
ConversationID mocks base method
func (*MockClient) ConversationName ¶
func (m *MockClient) ConversationName(arg0 string) string
ConversationName mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) Listen ¶
func (m *MockClient) Listen(arg0 chan<- *slack.Message, arg1 chan<- *slack.Reaction)
Listen mocks base method
func (*MockClient) ParseTimestamp ¶
func (m *MockClient) ParseTimestamp(arg0 string) (time.Time, error)
ParseTimestamp mocks base method
func (*MockClient) SendMessage ¶
func (m *MockClient) SendMessage(arg0, arg1 string)
SendMessage mocks base method
func (*MockClient) UserID ¶
func (m *MockClient) UserID(arg0 string) string
UserID mocks base method
func (*MockClient) UserName ¶
func (m *MockClient) UserName(arg0 string) string
UserName mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) AddReaction ¶
func (mr *MockClientMockRecorder) AddReaction(arg0, arg1 interface{}) *gomock.Call
AddReaction indicates an expected call of AddReaction
func (*MockClientMockRecorder) BotID ¶
func (mr *MockClientMockRecorder) BotID() *gomock.Call
BotID indicates an expected call of BotID
func (*MockClientMockRecorder) BotName ¶
func (mr *MockClientMockRecorder) BotName() *gomock.Call
BotName indicates an expected call of BotName
func (*MockClientMockRecorder) ConversationID ¶
func (mr *MockClientMockRecorder) ConversationID(arg0 interface{}) *gomock.Call
ConversationID indicates an expected call of ConversationID
func (*MockClientMockRecorder) ConversationName ¶
func (mr *MockClientMockRecorder) ConversationName(arg0 interface{}) *gomock.Call
ConversationName indicates an expected call of ConversationName
func (*MockClientMockRecorder) Listen ¶
func (mr *MockClientMockRecorder) Listen(arg0, arg1 interface{}) *gomock.Call
Listen indicates an expected call of Listen
func (*MockClientMockRecorder) ParseTimestamp ¶
func (mr *MockClientMockRecorder) ParseTimestamp(arg0 interface{}) *gomock.Call
ParseTimestamp indicates an expected call of ParseTimestamp
func (*MockClientMockRecorder) SendMessage ¶
func (mr *MockClientMockRecorder) SendMessage(arg0, arg1 interface{}) *gomock.Call
SendMessage indicates an expected call of SendMessage
func (*MockClientMockRecorder) TeamID ¶
func (mr *MockClientMockRecorder) TeamID() *gomock.Call
TeamID indicates an expected call of TeamID
func (*MockClientMockRecorder) TeamName ¶
func (mr *MockClientMockRecorder) TeamName() *gomock.Call
TeamName indicates an expected call of TeamName
func (*MockClientMockRecorder) UserID ¶
func (mr *MockClientMockRecorder) UserID(arg0 interface{}) *gomock.Call
UserID indicates an expected call of UserID
func (*MockClientMockRecorder) UserName ¶
func (mr *MockClientMockRecorder) UserName(arg0 interface{}) *gomock.Call
UserName indicates an expected call of UserName