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 MockPacketDecoder ¶
type MockPacketDecoder struct {
// contains filtered or unexported fields
}
MockPacketDecoder is a mock of PacketDecoder interface
func NewMockPacketDecoder ¶
func NewMockPacketDecoder(ctrl *gomock.Controller) *MockPacketDecoder
NewMockPacketDecoder creates a new mock instance
func (*MockPacketDecoder) Decode ¶
func (m *MockPacketDecoder) Decode(data []byte) ([]*packet.Packet, error)
Decode mocks base method
func (*MockPacketDecoder) EXPECT ¶
func (m *MockPacketDecoder) EXPECT() *MockPacketDecoderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockPacketDecoderMockRecorder ¶
type MockPacketDecoderMockRecorder struct {
// contains filtered or unexported fields
}
MockPacketDecoderMockRecorder is the mock recorder for MockPacketDecoder
func (*MockPacketDecoderMockRecorder) Decode ¶
func (mr *MockPacketDecoderMockRecorder) Decode(data interface{}) *gomock.Call
Decode indicates an expected call of Decode
type MockPacketEncoder ¶
type MockPacketEncoder struct {
// contains filtered or unexported fields
}
MockPacketEncoder is a mock of PacketEncoder interface
func NewMockPacketEncoder ¶
func NewMockPacketEncoder(ctrl *gomock.Controller) *MockPacketEncoder
NewMockPacketEncoder creates a new mock instance
func (*MockPacketEncoder) EXPECT ¶
func (m *MockPacketEncoder) EXPECT() *MockPacketEncoderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockPacketEncoderMockRecorder ¶
type MockPacketEncoderMockRecorder struct {
// contains filtered or unexported fields
}
MockPacketEncoderMockRecorder is the mock recorder for MockPacketEncoder
func (*MockPacketEncoderMockRecorder) Encode ¶
func (mr *MockPacketEncoderMockRecorder) Encode(typ, data interface{}) *gomock.Call
Encode indicates an expected call of Encode