mocks

package
v0.0.0-...-bd93615 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockByteCaller

type MockByteCaller struct {
	// contains filtered or unexported fields
}

MockByteCaller is a mock of ByteCaller interface.

func NewMockByteCaller

func NewMockByteCaller(ctrl *gomock.Controller) *MockByteCaller

NewMockByteCaller creates a new mock instance.

func (*MockByteCaller) CallBytes

func (m *MockByteCaller) CallBytes(arg0 context.Context, arg1 []byte) ([]byte, error)

CallBytes mocks base method.

func (*MockByteCaller) EXPECT

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

type MockByteCallerMockRecorder

type MockByteCallerMockRecorder struct {
	// contains filtered or unexported fields
}

MockByteCallerMockRecorder is the mock recorder for MockByteCaller.

func (*MockByteCallerMockRecorder) CallBytes

func (mr *MockByteCallerMockRecorder) CallBytes(arg0, arg1 interface{}) *gomock.Call

CallBytes indicates an expected call of CallBytes.

type MockConn

type MockConn struct {
	// contains filtered or unexported fields
}

MockConn is a mock of Conn interface.

func NewMockConn

func NewMockConn(ctrl *gomock.Controller) *MockConn

NewMockConn creates a new mock instance.

func (*MockConn) EXPECT

func (m *MockConn) EXPECT() *MockConnMockRecorder

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

func (*MockConn) Exec

func (m *MockConn) Exec(arg0 context.Context, arg1 string, arg2 ...interface{}) (pgconn.CommandTag, error)

Exec mocks base method.

func (*MockConn) Query

func (m *MockConn) Query(arg0 context.Context, arg1 string, arg2 ...interface{}) (pgx.Rows, error)

Query mocks base method.

func (*MockConn) QueryRow

func (m *MockConn) QueryRow(arg0 context.Context, arg1 string, arg2 ...interface{}) pgx.Row

QueryRow mocks base method.

func (*MockConn) Release

func (m *MockConn) Release()

Release mocks base method.

type MockConnMockRecorder

type MockConnMockRecorder struct {
	// contains filtered or unexported fields
}

MockConnMockRecorder is the mock recorder for MockConn.

func (*MockConnMockRecorder) Exec

func (mr *MockConnMockRecorder) Exec(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockConnMockRecorder) Query

func (mr *MockConnMockRecorder) Query(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Query indicates an expected call of Query.

func (*MockConnMockRecorder) QueryRow

func (mr *MockConnMockRecorder) QueryRow(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

QueryRow indicates an expected call of QueryRow.

func (*MockConnMockRecorder) Release

func (mr *MockConnMockRecorder) Release() *gomock.Call

Release indicates an expected call of Release.

type MockListGamesCaller

type MockListGamesCaller struct {
	// contains filtered or unexported fields
}

MockListGamesCaller is a mock of ListGamesCaller interface.

func NewMockListGamesCaller

func NewMockListGamesCaller(ctrl *gomock.Controller) *MockListGamesCaller

NewMockListGamesCaller creates a new mock instance.

func (*MockListGamesCaller) CallListGames

func (m *MockListGamesCaller) CallListGames(arg0 context.Context, arg1 poc.ListGames) (poc.ListGames, error)

CallListGames mocks base method.

func (*MockListGamesCaller) EXPECT

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

type MockListGamesCallerMockRecorder

type MockListGamesCallerMockRecorder struct {
	// contains filtered or unexported fields
}

MockListGamesCallerMockRecorder is the mock recorder for MockListGamesCaller.

func (*MockListGamesCallerMockRecorder) CallListGames

func (mr *MockListGamesCallerMockRecorder) CallListGames(arg0, arg1 interface{}) *gomock.Call

CallListGames indicates an expected call of CallListGames.

type MockPerformMoveCaller

type MockPerformMoveCaller struct {
	// contains filtered or unexported fields
}

MockPerformMoveCaller is a mock of PerformMoveCaller interface.

func NewMockPerformMoveCaller

func NewMockPerformMoveCaller(ctrl *gomock.Controller) *MockPerformMoveCaller

NewMockPerformMoveCaller creates a new mock instance.

func (*MockPerformMoveCaller) CallPerformMove

func (m *MockPerformMoveCaller) CallPerformMove(arg0 context.Context, arg1 poc.PerformMove) (poc.PerformMove, error)

CallPerformMove mocks base method.

func (*MockPerformMoveCaller) EXPECT

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

type MockPerformMoveCallerMockRecorder

type MockPerformMoveCallerMockRecorder struct {
	// contains filtered or unexported fields
}

MockPerformMoveCallerMockRecorder is the mock recorder for MockPerformMoveCaller.

func (*MockPerformMoveCallerMockRecorder) CallPerformMove

func (mr *MockPerformMoveCallerMockRecorder) CallPerformMove(arg0, arg1 interface{}) *gomock.Call

CallPerformMove indicates an expected call of CallPerformMove.

type MockPool

type MockPool struct {
	// contains filtered or unexported fields
}

MockPool is a mock of Pool interface.

func NewMockPool

func NewMockPool(ctrl *gomock.Controller) *MockPool

NewMockPool creates a new mock instance.

func (*MockPool) Acquire

func (m *MockPool) Acquire(ctx context.Context) (db.Conn, error)

Acquire mocks base method.

func (*MockPool) EXPECT

func (m *MockPool) EXPECT() *MockPoolMockRecorder

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

type MockPoolMockRecorder

type MockPoolMockRecorder struct {
	// contains filtered or unexported fields
}

MockPoolMockRecorder is the mock recorder for MockPool.

func (*MockPoolMockRecorder) Acquire

func (mr *MockPoolMockRecorder) Acquire(ctx interface{}) *gomock.Call

Acquire indicates an expected call of Acquire.

type MockStartGameCaller

type MockStartGameCaller struct {
	// contains filtered or unexported fields
}

MockStartGameCaller is a mock of StartGameCaller interface.

func NewMockStartGameCaller

func NewMockStartGameCaller(ctrl *gomock.Controller) *MockStartGameCaller

NewMockStartGameCaller creates a new mock instance.

func (*MockStartGameCaller) CallStartGame

func (m *MockStartGameCaller) CallStartGame(arg0 context.Context, arg1 poc.StartGame) (poc.StartGame, error)

CallStartGame mocks base method.

func (*MockStartGameCaller) EXPECT

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

type MockStartGameCallerMockRecorder

type MockStartGameCallerMockRecorder struct {
	// contains filtered or unexported fields
}

MockStartGameCallerMockRecorder is the mock recorder for MockStartGameCaller.

func (*MockStartGameCallerMockRecorder) CallStartGame

func (mr *MockStartGameCallerMockRecorder) CallStartGame(arg0, arg1 interface{}) *gomock.Call

CallStartGame indicates an expected call of CallStartGame.

Jump to

Keyboard shortcuts

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