Documentation ¶
Index ¶
- type MockScheduleStorage
- func (_m *MockScheduleStorage) AddEvent(_param0 konfurbot.Event)
- func (_m *MockScheduleStorage) EXPECT() *_MockScheduleStorageRecorder
- func (_m *MockScheduleStorage) GetCurrentEventsByType(_param0 string, _param1 time.Time) []konfurbot.Event
- func (_m *MockScheduleStorage) GetDayEventsByType(_param0 string) []konfurbot.Event
- func (_m *MockScheduleStorage) GetEventsByType(_param0 string) []konfurbot.Event
- func (_m *MockScheduleStorage) GetNextEventsByType(_param0 string, _param1 time.Time, _param2 time.Duration) []konfurbot.Event
- func (_m *MockScheduleStorage) GetNightEventsByType(_param0 string) []konfurbot.Event
- func (_m *MockScheduleStorage) SetNightCutoff(_param0 time.Time)
- type MockTelebotInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScheduleStorage ¶
type MockScheduleStorage struct {
// contains filtered or unexported fields
}
Mock of ScheduleStorage interface
func NewMockScheduleStorage ¶
func NewMockScheduleStorage(ctrl *gomock.Controller) *MockScheduleStorage
func (*MockScheduleStorage) AddEvent ¶
func (_m *MockScheduleStorage) AddEvent(_param0 konfurbot.Event)
func (*MockScheduleStorage) EXPECT ¶
func (_m *MockScheduleStorage) EXPECT() *_MockScheduleStorageRecorder
func (*MockScheduleStorage) GetCurrentEventsByType ¶
func (*MockScheduleStorage) GetDayEventsByType ¶
func (_m *MockScheduleStorage) GetDayEventsByType(_param0 string) []konfurbot.Event
func (*MockScheduleStorage) GetEventsByType ¶
func (_m *MockScheduleStorage) GetEventsByType(_param0 string) []konfurbot.Event
func (*MockScheduleStorage) GetNextEventsByType ¶
func (*MockScheduleStorage) GetNightEventsByType ¶
func (_m *MockScheduleStorage) GetNightEventsByType(_param0 string) []konfurbot.Event
func (*MockScheduleStorage) SetNightCutoff ¶
func (_m *MockScheduleStorage) SetNightCutoff(_param0 time.Time)
type MockTelebotInterface ¶
type MockTelebotInterface struct {
// contains filtered or unexported fields
}
Mock of TelebotInterface interface
func NewMockTelebotInterface ¶
func NewMockTelebotInterface(ctrl *gomock.Controller) *MockTelebotInterface
func (*MockTelebotInterface) EXPECT ¶
func (_m *MockTelebotInterface) EXPECT() *_MockTelebotInterfaceRecorder
func (*MockTelebotInterface) Listen ¶
func (_m *MockTelebotInterface) Listen(_param0 chan telebot.Message, _param1 time.Duration)
func (*MockTelebotInterface) SendMessage ¶
func (_m *MockTelebotInterface) SendMessage(_param0 telebot.Recipient, _param1 string, _param2 *telebot.SendOptions) error
Click to show internal directories.
Click to hide internal directories.