Documentation ¶
Overview ¶
Package telegram is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutor ¶
func NewExecutor(client *http.Client) executor.TaskExecutor
NewExecutor creates TaskExecutor for Telegram tasks.
Types ¶
type MockTelegram ¶
type MockTelegram struct {
// contains filtered or unexported fields
}
MockTelegram is a mock of Telegram interface
func NewMockTelegram ¶
func NewMockTelegram(ctrl *gomock.Controller) *MockTelegram
NewMockTelegram creates a new mock instance
func (*MockTelegram) EXPECT ¶
func (m *MockTelegram) EXPECT() *MockTelegramMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTelegram) Send ¶
func (m *MockTelegram) Send(c telegram_bot_api.Chattable) (telegram_bot_api.Message, error)
Send mocks base method
type MockTelegramMockRecorder ¶
type MockTelegramMockRecorder struct {
// contains filtered or unexported fields
}
MockTelegramMockRecorder is the mock recorder for MockTelegram
func (*MockTelegramMockRecorder) Send ¶
func (mr *MockTelegramMockRecorder) Send(c interface{}) *gomock.Call
Send indicates an expected call of Send
Click to show internal directories.
Click to hide internal directories.