mocks

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 MockNetworkUtil

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

MockNetworkUtil is a mock of NetworkUtil interface.

func NewMockNetworkUtil

func NewMockNetworkUtil(ctrl *gomock.Controller) *MockNetworkUtil

NewMockNetworkUtil creates a new mock instance.

func (*MockNetworkUtil) ConnectToHost

func (m *MockNetworkUtil) ConnectToHost(arg0, arg1 string, arg2 bool) (net.Conn, error)

ConnectToHost mocks base method.

func (*MockNetworkUtil) EXPECT

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

func (*MockNetworkUtil) ListenIP

func (m *MockNetworkUtil) ListenIP(arg0 string, arg1 bool) (net.Listener, error)

ListenIP mocks base method.

func (*MockNetworkUtil) ReadFrom

func (m *MockNetworkUtil) ReadFrom(arg0 net.Conn) (int, []byte, error)

ReadFrom mocks base method.

func (*MockNetworkUtil) WriteTo

func (m *MockNetworkUtil) WriteTo(arg0 net.Conn, arg1 []byte) error

WriteTo mocks base method.

type MockNetworkUtilMockRecorder

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

MockNetworkUtilMockRecorder is the mock recorder for MockNetworkUtil.

func (*MockNetworkUtilMockRecorder) ConnectToHost

func (mr *MockNetworkUtilMockRecorder) ConnectToHost(arg0, arg1, arg2 interface{}) *gomock.Call

ConnectToHost indicates an expected call of ConnectToHost.

func (*MockNetworkUtilMockRecorder) ListenIP

func (mr *MockNetworkUtilMockRecorder) ListenIP(arg0, arg1 interface{}) *gomock.Call

ListenIP indicates an expected call of ListenIP.

func (*MockNetworkUtilMockRecorder) ReadFrom

func (mr *MockNetworkUtilMockRecorder) ReadFrom(arg0 interface{}) *gomock.Call

ReadFrom indicates an expected call of ReadFrom.

func (*MockNetworkUtilMockRecorder) WriteTo

func (mr *MockNetworkUtilMockRecorder) WriteTo(arg0, arg1 interface{}) *gomock.Call

WriteTo indicates an expected call of WriteTo.

Jump to

Keyboard shortcuts

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