telegram

package
v0.0.0-...-c092c37 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: MIT Imports: 10 Imported by: 0

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTelegram) Send

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

type Telegram

type Telegram interface {
	Send(c tgbotapi.Chattable) (tgbotapi.Message, error)
}

Telegram is the interface of Telegram client.

Jump to

Keyboard shortcuts

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