Documentation
¶
Overview ¶
Package mock_botinput is a generated GoMock package.
Index ¶
- type MockWebhookInput
- func (m *MockWebhookInput) BotChatID() (string, error)
- func (m *MockWebhookInput) Chat() botinput.WebhookChat
- func (m *MockWebhookInput) EXPECT() *MockWebhookInputMockRecorder
- func (m *MockWebhookInput) GetRecipient() botinput.WebhookRecipient
- func (m *MockWebhookInput) GetSender() botinput.WebhookUser
- func (m *MockWebhookInput) GetTime() time.Time
- func (m *MockWebhookInput) InputType() botinput.WebhookInputType
- func (m *MockWebhookInput) LogRequest()
- type MockWebhookInputMockRecorder
- func (mr *MockWebhookInputMockRecorder) BotChatID() *gomock.Call
- func (mr *MockWebhookInputMockRecorder) Chat() *gomock.Call
- func (mr *MockWebhookInputMockRecorder) GetRecipient() *gomock.Call
- func (mr *MockWebhookInputMockRecorder) GetSender() *gomock.Call
- func (mr *MockWebhookInputMockRecorder) GetTime() *gomock.Call
- func (mr *MockWebhookInputMockRecorder) InputType() *gomock.Call
- func (mr *MockWebhookInputMockRecorder) LogRequest() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWebhookInput ¶
type MockWebhookInput struct {
// contains filtered or unexported fields
}
MockWebhookInput is a mock of WebhookInput interface.
func NewMockWebhookInput ¶
func NewMockWebhookInput(ctrl *gomock.Controller) *MockWebhookInput
NewMockWebhookInput creates a new mock instance.
func (*MockWebhookInput) BotChatID ¶
func (m *MockWebhookInput) BotChatID() (string, error)
BotChatID mocks base method.
func (*MockWebhookInput) Chat ¶
func (m *MockWebhookInput) Chat() botinput.WebhookChat
Chat mocks base method.
func (*MockWebhookInput) EXPECT ¶
func (m *MockWebhookInput) EXPECT() *MockWebhookInputMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWebhookInput) GetRecipient ¶
func (m *MockWebhookInput) GetRecipient() botinput.WebhookRecipient
GetRecipient mocks base method.
func (*MockWebhookInput) GetSender ¶
func (m *MockWebhookInput) GetSender() botinput.WebhookUser
GetSender mocks base method.
func (*MockWebhookInput) GetTime ¶
func (m *MockWebhookInput) GetTime() time.Time
GetTime mocks base method.
func (*MockWebhookInput) InputType ¶
func (m *MockWebhookInput) InputType() botinput.WebhookInputType
InputType mocks base method.
func (*MockWebhookInput) LogRequest ¶
func (m *MockWebhookInput) LogRequest()
LogRequest mocks base method.
type MockWebhookInputMockRecorder ¶
type MockWebhookInputMockRecorder struct {
// contains filtered or unexported fields
}
MockWebhookInputMockRecorder is the mock recorder for MockWebhookInput.
func (*MockWebhookInputMockRecorder) BotChatID ¶
func (mr *MockWebhookInputMockRecorder) BotChatID() *gomock.Call
BotChatID indicates an expected call of BotChatID.
func (*MockWebhookInputMockRecorder) Chat ¶
func (mr *MockWebhookInputMockRecorder) Chat() *gomock.Call
Chat indicates an expected call of Chat.
func (*MockWebhookInputMockRecorder) GetRecipient ¶
func (mr *MockWebhookInputMockRecorder) GetRecipient() *gomock.Call
GetRecipient indicates an expected call of GetRecipient.
func (*MockWebhookInputMockRecorder) GetSender ¶
func (mr *MockWebhookInputMockRecorder) GetSender() *gomock.Call
GetSender indicates an expected call of GetSender.
func (*MockWebhookInputMockRecorder) GetTime ¶
func (mr *MockWebhookInputMockRecorder) GetTime() *gomock.Call
GetTime indicates an expected call of GetTime.
func (*MockWebhookInputMockRecorder) InputType ¶
func (mr *MockWebhookInputMockRecorder) InputType() *gomock.Call
InputType indicates an expected call of InputType.
func (*MockWebhookInputMockRecorder) LogRequest ¶
func (mr *MockWebhookInputMockRecorder) LogRequest() *gomock.Call
LogRequest indicates an expected call of LogRequest.