mocks

package
v0.0.0-...-798a471 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 4 Imported by: 0

README

To regenerate mocks, run

mockgen -source=rpc/client.go -package mocks > rpc/mocks/mock_client.go

This requires mockgen installed, get it as:

go install github.com/golang/mock/mockgen@v1.6.0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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

CheckUpdates mocks base method.

func (*MockClientInterface) EXPECT

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

func (*MockClientInterface) GetAuthorBooks

GetAuthorBooks mocks base method.

func (*MockClientInterface) GetSeriesBooks

GetSeriesBooks mocks base method.

func (*MockClientInterface) GetUserInfo

GetUserInfo mocks base method.

func (*MockClientInterface) GlobalSearch

GlobalSearch mocks base method.

func (*MockClientInterface) ListTrackedEntries

ListTrackedEntries mocks base method.

func (*MockClientInterface) ListUsers

ListUsers mocks base method.

func (*MockClientInterface) TrackEntry

TrackEntry mocks base method.

func (*MockClientInterface) UntrackEntry

UntrackEntry mocks base method.

func (*MockClientInterface) UpdateEntry

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

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

func (*MockIBotApiWrapper) Send

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.

Jump to

Keyboard shortcuts

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