Documentation ¶
Overview ¶
Package mock_snitch is a generated GoMock package.
Index ¶
- type Mockbot
- func (m *Mockbot) ChatByID(id int64) (*telebot.Chat, error)
- func (m *Mockbot) EXPECT() *MockbotMockRecorder
- func (m_2 *Mockbot) Handle(endpoint interface{}, h telebot.HandlerFunc, m ...telebot.MiddlewareFunc)
- func (m *Mockbot) Send(to telebot.Recipient, what interface{}, opts ...interface{}) (*telebot.Message, error)
- func (m *Mockbot) Start()
- type MockbotMockRecorder
- func (mr *MockbotMockRecorder) ChatByID(id interface{}) *gomock.Call
- func (mr *MockbotMockRecorder) Handle(endpoint, h interface{}, m ...interface{}) *gomock.Call
- func (mr *MockbotMockRecorder) Send(to, what interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockbotMockRecorder) Start() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mockbot ¶
type Mockbot struct {
// contains filtered or unexported fields
}
Mockbot is a mock of bot interface.
func NewMockbot ¶
func NewMockbot(ctrl *gomock.Controller) *Mockbot
NewMockbot creates a new mock instance.
func (*Mockbot) EXPECT ¶
func (m *Mockbot) EXPECT() *MockbotMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockbot) Handle ¶
func (m_2 *Mockbot) Handle(endpoint interface{}, h telebot.HandlerFunc, m ...telebot.MiddlewareFunc)
Handle mocks base method.
type MockbotMockRecorder ¶
type MockbotMockRecorder struct {
// contains filtered or unexported fields
}
MockbotMockRecorder is the mock recorder for Mockbot.
func (*MockbotMockRecorder) ChatByID ¶
func (mr *MockbotMockRecorder) ChatByID(id interface{}) *gomock.Call
ChatByID indicates an expected call of ChatByID.
func (*MockbotMockRecorder) Handle ¶
func (mr *MockbotMockRecorder) Handle(endpoint, h interface{}, m ...interface{}) *gomock.Call
Handle indicates an expected call of Handle.
func (*MockbotMockRecorder) Send ¶
func (mr *MockbotMockRecorder) Send(to, what interface{}, opts ...interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockbotMockRecorder) Start ¶ added in v0.1.6
func (mr *MockbotMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
Click to show internal directories.
Click to hide internal directories.