Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClientInterface
- func (m *MockClientInterface) CheckUpdates(in *proto.CheckUpdatesRequest) (*proto.CheckUpdatesResponse, error)
- func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
- func (m *MockClientInterface) GetAuthorBooks(in *proto.GetAuthorBooksRequest) (*proto.GetAuthorBooksResponse, error)
- func (m *MockClientInterface) GetSeriesBooks(in *proto.GetSeriesBooksRequest) (*proto.GetSeriesBooksResponse, error)
- func (m *MockClientInterface) GetUserInfo(in *proto.GetUserInfoRequest) (*proto.GetUserInfoResponse, error)
- func (m *MockClientInterface) GlobalSearch(in *proto.GlobalSearchRequest) (*proto.GlobalSearchResponse, error)
- func (m *MockClientInterface) ListTrackedEntries(in *proto.ListTrackedEntriesRequest) (*proto.ListTrackedEntriesResponse, error)
- func (m *MockClientInterface) ListUsers(in *proto.ListUsersRequest) (*proto.ListUsersResponse, error)
- func (m *MockClientInterface) TrackEntry(in *proto.TrackEntryRequest) (*proto.TrackEntryResponse, error)
- func (m *MockClientInterface) UntrackEntry(in *proto.UntrackEntryRequest) (*proto.UntrackEntryResponse, error)
- func (m *MockClientInterface) UpdateEntry(in *proto.UpdateTrackedEntryRequest) (*proto.UpdateTrackedEntryResponse, error)
- type MockClientInterfaceMockRecorder
- func (mr *MockClientInterfaceMockRecorder) CheckUpdates(in interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetAuthorBooks(in interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetSeriesBooks(in interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetUserInfo(in interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GlobalSearch(in interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) ListTrackedEntries(in interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) ListUsers(in interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) TrackEntry(in interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) UntrackEntry(in interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) UpdateEntry(in interface{}) *gomock.Call
- type MockIBotApiWrapper
- type MockIBotApiWrapperMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientInterface ¶
type MockClientInterface struct {
// contains filtered or unexported fields
}
MockClientInterface is a mock of ClientInterface interface.
func NewMockClientInterface ¶
func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface
NewMockClientInterface creates a new mock instance.
func (*MockClientInterface) CheckUpdates ¶
func (m *MockClientInterface) CheckUpdates(in *proto.CheckUpdatesRequest) (*proto.CheckUpdatesResponse, error)
CheckUpdates mocks base method.
func (*MockClientInterface) EXPECT ¶
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientInterface) GetAuthorBooks ¶
func (m *MockClientInterface) GetAuthorBooks(in *proto.GetAuthorBooksRequest) (*proto.GetAuthorBooksResponse, error)
GetAuthorBooks mocks base method.
func (*MockClientInterface) GetSeriesBooks ¶
func (m *MockClientInterface) GetSeriesBooks(in *proto.GetSeriesBooksRequest) (*proto.GetSeriesBooksResponse, error)
GetSeriesBooks mocks base method.
func (*MockClientInterface) GetUserInfo ¶
func (m *MockClientInterface) GetUserInfo(in *proto.GetUserInfoRequest) (*proto.GetUserInfoResponse, error)
GetUserInfo mocks base method.
func (*MockClientInterface) GlobalSearch ¶
func (m *MockClientInterface) GlobalSearch(in *proto.GlobalSearchRequest) (*proto.GlobalSearchResponse, error)
GlobalSearch mocks base method.
func (*MockClientInterface) ListTrackedEntries ¶
func (m *MockClientInterface) ListTrackedEntries(in *proto.ListTrackedEntriesRequest) (*proto.ListTrackedEntriesResponse, error)
ListTrackedEntries mocks base method.
func (*MockClientInterface) ListUsers ¶
func (m *MockClientInterface) ListUsers(in *proto.ListUsersRequest) (*proto.ListUsersResponse, error)
ListUsers mocks base method.
func (*MockClientInterface) TrackEntry ¶
func (m *MockClientInterface) TrackEntry(in *proto.TrackEntryRequest) (*proto.TrackEntryResponse, error)
TrackEntry mocks base method.
func (*MockClientInterface) UntrackEntry ¶
func (m *MockClientInterface) UntrackEntry(in *proto.UntrackEntryRequest) (*proto.UntrackEntryResponse, error)
UntrackEntry mocks base method.
func (*MockClientInterface) UpdateEntry ¶
func (m *MockClientInterface) UpdateEntry(in *proto.UpdateTrackedEntryRequest) (*proto.UpdateTrackedEntryResponse, error)
UpdateEntry mocks base method.
type MockClientInterfaceMockRecorder ¶
type MockClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.
func (*MockClientInterfaceMockRecorder) CheckUpdates ¶
func (mr *MockClientInterfaceMockRecorder) CheckUpdates(in interface{}) *gomock.Call
CheckUpdates indicates an expected call of CheckUpdates.
func (*MockClientInterfaceMockRecorder) GetAuthorBooks ¶
func (mr *MockClientInterfaceMockRecorder) GetAuthorBooks(in interface{}) *gomock.Call
GetAuthorBooks indicates an expected call of GetAuthorBooks.
func (*MockClientInterfaceMockRecorder) GetSeriesBooks ¶
func (mr *MockClientInterfaceMockRecorder) GetSeriesBooks(in interface{}) *gomock.Call
GetSeriesBooks indicates an expected call of GetSeriesBooks.
func (*MockClientInterfaceMockRecorder) GetUserInfo ¶
func (mr *MockClientInterfaceMockRecorder) GetUserInfo(in interface{}) *gomock.Call
GetUserInfo indicates an expected call of GetUserInfo.
func (*MockClientInterfaceMockRecorder) GlobalSearch ¶
func (mr *MockClientInterfaceMockRecorder) GlobalSearch(in interface{}) *gomock.Call
GlobalSearch indicates an expected call of GlobalSearch.
func (*MockClientInterfaceMockRecorder) ListTrackedEntries ¶
func (mr *MockClientInterfaceMockRecorder) ListTrackedEntries(in interface{}) *gomock.Call
ListTrackedEntries indicates an expected call of ListTrackedEntries.
func (*MockClientInterfaceMockRecorder) ListUsers ¶
func (mr *MockClientInterfaceMockRecorder) ListUsers(in interface{}) *gomock.Call
ListUsers indicates an expected call of ListUsers.
func (*MockClientInterfaceMockRecorder) TrackEntry ¶
func (mr *MockClientInterfaceMockRecorder) TrackEntry(in interface{}) *gomock.Call
TrackEntry indicates an expected call of TrackEntry.
func (*MockClientInterfaceMockRecorder) UntrackEntry ¶
func (mr *MockClientInterfaceMockRecorder) UntrackEntry(in interface{}) *gomock.Call
UntrackEntry indicates an expected call of UntrackEntry.
func (*MockClientInterfaceMockRecorder) UpdateEntry ¶
func (mr *MockClientInterfaceMockRecorder) UpdateEntry(in interface{}) *gomock.Call
UpdateEntry indicates an expected call of UpdateEntry.
type MockIBotApiWrapper ¶
type MockIBotApiWrapper struct {
// contains filtered or unexported fields
}
MockIBotApiWrapper is a mock of IBotApiWrapper interface.
func NewMockIBotApiWrapper ¶
func NewMockIBotApiWrapper(ctrl *gomock.Controller) *MockIBotApiWrapper
NewMockIBotApiWrapper creates a new mock instance.
func (*MockIBotApiWrapper) EXPECT ¶
func (m *MockIBotApiWrapper) EXPECT() *MockIBotApiWrapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBotApiWrapper) Send ¶
func (m *MockIBotApiWrapper) Send(msg tgbotapi.MessageConfig) error
Send mocks base method.
type MockIBotApiWrapperMockRecorder ¶
type MockIBotApiWrapperMockRecorder struct {
// contains filtered or unexported fields
}
MockIBotApiWrapperMockRecorder is the mock recorder for MockIBotApiWrapper.
func (*MockIBotApiWrapperMockRecorder) Send ¶
func (mr *MockIBotApiWrapperMockRecorder) Send(msg interface{}) *gomock.Call
Send indicates an expected call of Send.