mock_reconnect

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_reconnect is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIOOperation

type MockIOOperation struct {
	// contains filtered or unexported fields
}

MockIOOperation is a mock of IOOperation interface

func NewMockIOOperation

func NewMockIOOperation(ctrl *gomock.Controller) *MockIOOperation

NewMockIOOperation creates a new mock instance

func (*MockIOOperation) Do

func (m *MockIOOperation) Do(arg0 net.PacketConn) error

Do mocks base method

func (*MockIOOperation) EXPECT

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

func (*MockIOOperation) IsWrite

func (m *MockIOOperation) IsWrite() bool

IsWrite mocks base method

type MockIOOperationMockRecorder

type MockIOOperationMockRecorder struct {
	// contains filtered or unexported fields
}

MockIOOperationMockRecorder is the mock recorder for MockIOOperation

func (*MockIOOperationMockRecorder) Do

func (mr *MockIOOperationMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do

func (*MockIOOperationMockRecorder) IsWrite

func (mr *MockIOOperationMockRecorder) IsWrite() *gomock.Call

IsWrite indicates an expected call of IsWrite

type MockReconnecter

type MockReconnecter struct {
	// contains filtered or unexported fields
}

MockReconnecter is a mock of Reconnecter interface

func NewMockReconnecter

func NewMockReconnecter(ctrl *gomock.Controller) *MockReconnecter

NewMockReconnecter creates a new mock instance

func (*MockReconnecter) EXPECT

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

func (*MockReconnecter) Reconnect

func (m *MockReconnecter) Reconnect(arg0 time.Duration) (net.PacketConn, uint16, error)

Reconnect mocks base method

func (*MockReconnecter) Stop

func (m *MockReconnecter) Stop()

Stop mocks base method

type MockReconnecterMockRecorder

type MockReconnecterMockRecorder struct {
	// contains filtered or unexported fields
}

MockReconnecterMockRecorder is the mock recorder for MockReconnecter

func (*MockReconnecterMockRecorder) Reconnect

func (mr *MockReconnecterMockRecorder) Reconnect(arg0 interface{}) *gomock.Call

Reconnect indicates an expected call of Reconnect

func (*MockReconnecterMockRecorder) Stop

Stop indicates an expected call of Stop

Jump to

Keyboard shortcuts

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