mocks

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 3 Imported by: 0

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

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

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

func (*MockPacketEncoder) Encode

func (m *MockPacketEncoder) Encode(typ packet.Type, data []byte) ([]byte, error)

Encode mocks base method

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

Jump to

Keyboard shortcuts

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