Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCodec ¶
type MockCodec struct {
// contains filtered or unexported fields
}
MockCodec is a mock of Codec interface.
func NewMockCodec ¶
func NewMockCodec(ctrl *gomock.Controller) *MockCodec
NewMockCodec creates a new mock instance.
func (*MockCodec) EXPECT ¶
func (m *MockCodec) EXPECT() *MockCodecMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCodecMockRecorder ¶
type MockCodecMockRecorder struct {
// contains filtered or unexported fields
}
MockCodecMockRecorder is the mock recorder for MockCodec.
func (*MockCodecMockRecorder) Decode ¶
func (mr *MockCodecMockRecorder) Decode(arg0, arg1 interface{}) *gomock.Call
Decode indicates an expected call of Decode.
func (*MockCodecMockRecorder) Encode ¶
func (mr *MockCodecMockRecorder) Encode(arg0 interface{}) *gomock.Call
Encode indicates an expected call of Encode.
type MockError ¶
type MockError struct {
// contains filtered or unexported fields
}
MockError is a mock of Error interface.
func NewMockError ¶
func NewMockError(ctrl *gomock.Controller) *MockError
NewMockError creates a new mock instance.
func (*MockError) EXPECT ¶
func (m *MockError) EXPECT() *MockErrorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockErrorMockRecorder ¶
type MockErrorMockRecorder struct {
// contains filtered or unexported fields
}
MockErrorMockRecorder is the mock recorder for MockError.
func (*MockErrorMockRecorder) Error ¶
func (mr *MockErrorMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockErrorMockRecorder) Temporary ¶
func (mr *MockErrorMockRecorder) Temporary() *gomock.Call
Temporary indicates an expected call of Temporary.
func (*MockErrorMockRecorder) Timeout ¶
func (mr *MockErrorMockRecorder) Timeout() *gomock.Call
Timeout indicates an expected call of Timeout.
type MockListener ¶
type MockListener struct {
// contains filtered or unexported fields
}
MockListener is a mock of Listener interface.
func NewMockListener ¶
func NewMockListener(ctrl *gomock.Controller) *MockListener
NewMockListener creates a new mock instance.
func (*MockListener) Accept ¶
func (m *MockListener) Accept() (net.Conn, error)
Accept mocks base method.
func (*MockListener) EXPECT ¶
func (m *MockListener) EXPECT() *MockListenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockListenerMockRecorder ¶
type MockListenerMockRecorder struct {
// contains filtered or unexported fields
}
MockListenerMockRecorder is the mock recorder for MockListener.
func (*MockListenerMockRecorder) Accept ¶
func (mr *MockListenerMockRecorder) Accept() *gomock.Call
Accept indicates an expected call of Accept.
func (*MockListenerMockRecorder) Addr ¶
func (mr *MockListenerMockRecorder) Addr() *gomock.Call
Addr indicates an expected call of Addr.
func (*MockListenerMockRecorder) Close ¶
func (mr *MockListenerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
type MockPacker ¶
type MockPacker struct {
// contains filtered or unexported fields
}
MockPacker is a mock of Packer interface.
func NewMockPacker ¶
func NewMockPacker(ctrl *gomock.Controller) *MockPacker
NewMockPacker creates a new mock instance.
func (*MockPacker) EXPECT ¶
func (m *MockPacker) EXPECT() *MockPackerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPackerMockRecorder ¶
type MockPackerMockRecorder struct {
// contains filtered or unexported fields
}
MockPackerMockRecorder is the mock recorder for MockPacker.
func (*MockPackerMockRecorder) Pack ¶
func (mr *MockPackerMockRecorder) Pack(arg0 interface{}) *gomock.Call
Pack indicates an expected call of Pack.
func (*MockPackerMockRecorder) Unpack ¶
func (mr *MockPackerMockRecorder) Unpack(arg0 interface{}) *gomock.Call
Unpack indicates an expected call of Unpack.