Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockByteCaller
- type MockByteCallerMockRecorder
- type MockConn
- func (m *MockConn) EXPECT() *MockConnMockRecorder
- func (m *MockConn) Exec(arg0 context.Context, arg1 string, arg2 ...interface{}) (pgconn.CommandTag, error)
- func (m *MockConn) Query(arg0 context.Context, arg1 string, arg2 ...interface{}) (pgx.Rows, error)
- func (m *MockConn) QueryRow(arg0 context.Context, arg1 string, arg2 ...interface{}) pgx.Row
- func (m *MockConn) Release()
- type MockConnMockRecorder
- func (mr *MockConnMockRecorder) Exec(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockConnMockRecorder) Query(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockConnMockRecorder) QueryRow(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockConnMockRecorder) Release() *gomock.Call
- type MockListGamesCaller
- type MockListGamesCallerMockRecorder
- type MockPerformMoveCaller
- type MockPerformMoveCallerMockRecorder
- type MockPool
- type MockPoolMockRecorder
- type MockStartGameCaller
- type MockStartGameCallerMockRecorder
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) EXPECT ¶
func (m *MockByteCaller) EXPECT() *MockByteCallerMockRecorder
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.
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 ¶
func (m *MockListGamesCaller) EXPECT() *MockListGamesCallerMockRecorder
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 ¶
func (m *MockPerformMoveCaller) EXPECT() *MockPerformMoveCallerMockRecorder
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) 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 ¶
func (m *MockStartGameCaller) EXPECT() *MockStartGameCallerMockRecorder
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.