Documentation ¶
Overview ¶
Package remote is a generated GoMock package.
Package remote is a generated GoMock package.
Package remote is a generated GoMock package.
Package remote is a generated GoMock package.
Package remote is a generated GoMock package.
Index ¶
- type MockCodec
- type MockCodecMockRecorder
- type MockConnPool
- func (m *MockConnPool) Close() error
- func (m *MockConnPool) Discard(arg0 net.Conn) error
- func (m *MockConnPool) EXPECT() *MockConnPoolMockRecorder
- func (m *MockConnPool) Get(arg0 context.Context, arg1, arg2 string, arg3 remote.ConnOption) (net.Conn, error)
- func (m *MockConnPool) Put(arg0 net.Conn) error
- type MockConnPoolMockRecorder
- type MockMetaHandler
- type MockMetaHandlerMockRecorder
- type MockOutboundHandler
- type MockOutboundHandlerMockRecorder
- type MockPayloadCodec
- func (m *MockPayloadCodec) EXPECT() *MockPayloadCodecMockRecorder
- func (m *MockPayloadCodec) Marshal(arg0 context.Context, arg1 remote.Message, arg2 remote.ByteBuffer) error
- func (m *MockPayloadCodec) Name() string
- func (m *MockPayloadCodec) Unmarshal(arg0 context.Context, arg1 remote.Message, arg2 remote.ByteBuffer) error
- type MockPayloadCodecMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCodec ¶ added in v0.4.0
type MockCodec struct {
// contains filtered or unexported fields
}
MockCodec is a mock of Codec interface.
func NewMockCodec ¶ added in v0.4.0
func NewMockCodec(ctrl *gomock.Controller) *MockCodec
NewMockCodec creates a new mock instance.
func (*MockCodec) EXPECT ¶ added in v0.4.0
func (m *MockCodec) EXPECT() *MockCodecMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCodecMockRecorder ¶ added in v0.4.0
type MockCodecMockRecorder struct {
// contains filtered or unexported fields
}
MockCodecMockRecorder is the mock recorder for MockCodec.
func (*MockCodecMockRecorder) Decode ¶ added in v0.4.0
func (mr *MockCodecMockRecorder) Decode(arg0, arg1, arg2 interface{}) *gomock.Call
Decode indicates an expected call of Decode.
func (*MockCodecMockRecorder) Encode ¶ added in v0.4.0
func (mr *MockCodecMockRecorder) Encode(arg0, arg1, arg2 interface{}) *gomock.Call
Encode indicates an expected call of Encode.
func (*MockCodecMockRecorder) Name ¶ added in v0.4.0
func (mr *MockCodecMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockConnPool ¶ added in v0.4.0
type MockConnPool struct {
// contains filtered or unexported fields
}
MockConnPool is a mock of ConnPool interface.
func NewMockConnPool ¶ added in v0.4.0
func NewMockConnPool(ctrl *gomock.Controller) *MockConnPool
NewMockConnPool creates a new mock instance.
func (*MockConnPool) Close ¶ added in v0.4.0
func (m *MockConnPool) Close() error
Close mocks base method.
func (*MockConnPool) Discard ¶ added in v0.4.0
func (m *MockConnPool) Discard(arg0 net.Conn) error
Discard mocks base method.
func (*MockConnPool) EXPECT ¶ added in v0.4.0
func (m *MockConnPool) EXPECT() *MockConnPoolMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockConnPoolMockRecorder ¶ added in v0.4.0
type MockConnPoolMockRecorder struct {
// contains filtered or unexported fields
}
MockConnPoolMockRecorder is the mock recorder for MockConnPool.
func (*MockConnPoolMockRecorder) Close ¶ added in v0.4.0
func (mr *MockConnPoolMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockConnPoolMockRecorder) Discard ¶ added in v0.4.0
func (mr *MockConnPoolMockRecorder) Discard(arg0 interface{}) *gomock.Call
Discard indicates an expected call of Discard.
func (*MockConnPoolMockRecorder) Get ¶ added in v0.4.0
func (mr *MockConnPoolMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockConnPoolMockRecorder) Put ¶ added in v0.4.0
func (mr *MockConnPoolMockRecorder) Put(arg0 interface{}) *gomock.Call
Put indicates an expected call of Put.
type MockMetaHandler ¶ added in v0.4.0
type MockMetaHandler struct {
// contains filtered or unexported fields
}
MockMetaHandler is a mock of MetaHandler interface.
func NewMockMetaHandler ¶ added in v0.4.0
func NewMockMetaHandler(ctrl *gomock.Controller) *MockMetaHandler
NewMockMetaHandler creates a new mock instance.
func (*MockMetaHandler) EXPECT ¶ added in v0.4.0
func (m *MockMetaHandler) EXPECT() *MockMetaHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMetaHandlerMockRecorder ¶ added in v0.4.0
type MockMetaHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockMetaHandlerMockRecorder is the mock recorder for MockMetaHandler.
func (*MockMetaHandlerMockRecorder) ReadMeta ¶ added in v0.4.0
func (mr *MockMetaHandlerMockRecorder) ReadMeta(arg0, arg1 interface{}) *gomock.Call
ReadMeta indicates an expected call of ReadMeta.
func (*MockMetaHandlerMockRecorder) WriteMeta ¶ added in v0.4.0
func (mr *MockMetaHandlerMockRecorder) WriteMeta(arg0, arg1 interface{}) *gomock.Call
WriteMeta indicates an expected call of WriteMeta.
type MockOutboundHandler ¶ added in v0.4.0
type MockOutboundHandler struct {
// contains filtered or unexported fields
}
MockOutboundHandler is a mock of OutboundHandler interface.
func NewMockOutboundHandler ¶ added in v0.4.0
func NewMockOutboundHandler(ctrl *gomock.Controller) *MockOutboundHandler
NewMockOutboundHandler creates a new mock instance.
func (*MockOutboundHandler) EXPECT ¶ added in v0.4.0
func (m *MockOutboundHandler) EXPECT() *MockOutboundHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockOutboundHandlerMockRecorder ¶ added in v0.4.0
type MockOutboundHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockOutboundHandlerMockRecorder is the mock recorder for MockOutboundHandler.
func (*MockOutboundHandlerMockRecorder) Write ¶ added in v0.4.0
func (mr *MockOutboundHandlerMockRecorder) Write(arg0, arg1, arg2 interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockPayloadCodec ¶ added in v0.4.0
type MockPayloadCodec struct {
// contains filtered or unexported fields
}
MockPayloadCodec is a mock of PayloadCodec interface.
func NewMockPayloadCodec ¶ added in v0.4.0
func NewMockPayloadCodec(ctrl *gomock.Controller) *MockPayloadCodec
NewMockPayloadCodec creates a new mock instance.
func (*MockPayloadCodec) EXPECT ¶ added in v0.4.0
func (m *MockPayloadCodec) EXPECT() *MockPayloadCodecMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPayloadCodec) Marshal ¶ added in v0.4.0
func (m *MockPayloadCodec) Marshal(arg0 context.Context, arg1 remote.Message, arg2 remote.ByteBuffer) error
Marshal mocks base method.
func (*MockPayloadCodec) Name ¶ added in v0.4.0
func (m *MockPayloadCodec) Name() string
Name mocks base method.
func (*MockPayloadCodec) Unmarshal ¶ added in v0.4.0
func (m *MockPayloadCodec) Unmarshal(arg0 context.Context, arg1 remote.Message, arg2 remote.ByteBuffer) error
Unmarshal mocks base method.
type MockPayloadCodecMockRecorder ¶ added in v0.4.0
type MockPayloadCodecMockRecorder struct {
// contains filtered or unexported fields
}
MockPayloadCodecMockRecorder is the mock recorder for MockPayloadCodec.
func (*MockPayloadCodecMockRecorder) Marshal ¶ added in v0.4.0
func (mr *MockPayloadCodecMockRecorder) Marshal(arg0, arg1, arg2 interface{}) *gomock.Call
Marshal indicates an expected call of Marshal.
func (*MockPayloadCodecMockRecorder) Name ¶ added in v0.4.0
func (mr *MockPayloadCodecMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockPayloadCodecMockRecorder) Unmarshal ¶ added in v0.4.0
func (mr *MockPayloadCodecMockRecorder) Unmarshal(arg0, arg1, arg2 interface{}) *gomock.Call
Unmarshal indicates an expected call of Unmarshal.