mock_snitch

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_snitch is a generated GoMock package.

Index

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) ChatByID

func (m *Mockbot) ChatByID(id int64) (*telebot.Chat, error)

ChatByID mocks base method.

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.

func (*Mockbot) Send

func (m *Mockbot) Send(to telebot.Recipient, what interface{}, opts ...interface{}) (*telebot.Message, error)

Send mocks base method.

func (*Mockbot) Start added in v0.1.6

func (m *Mockbot) Start()

Start 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL