mocks

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 5 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 MockNetworkEntity

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

MockNetworkEntity is a mock of NetworkEntity interface.

func NewMockNetworkEntity

func NewMockNetworkEntity(ctrl *gomock.Controller) *MockNetworkEntity

NewMockNetworkEntity creates a new mock instance.

func (*MockNetworkEntity) Close

func (m *MockNetworkEntity) Close() error

Close mocks base method.

func (*MockNetworkEntity) EXPECT

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

func (*MockNetworkEntity) Kick

func (m *MockNetworkEntity) Kick(arg0 context.Context) error

Kick mocks base method.

func (*MockNetworkEntity) Push

func (m *MockNetworkEntity) Push(arg0 string, arg1 interface{}) error

Push mocks base method.

func (*MockNetworkEntity) RemoteAddr

func (m *MockNetworkEntity) RemoteAddr() net.Addr

RemoteAddr mocks base method.

func (*MockNetworkEntity) ResponseMID

func (m *MockNetworkEntity) ResponseMID(arg0 context.Context, arg1 uint, arg2 interface{}, arg3 ...bool) error

ResponseMID mocks base method.

func (*MockNetworkEntity) SendRequest

func (m *MockNetworkEntity) SendRequest(arg0 context.Context, arg1, arg2 string, arg3 interface{}) (*protos.Response, error)

SendRequest mocks base method.

type MockNetworkEntityMockRecorder

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

MockNetworkEntityMockRecorder is the mock recorder for MockNetworkEntity.

func (*MockNetworkEntityMockRecorder) Close

Close indicates an expected call of Close.

func (*MockNetworkEntityMockRecorder) Kick

func (mr *MockNetworkEntityMockRecorder) Kick(arg0 interface{}) *gomock.Call

Kick indicates an expected call of Kick.

func (*MockNetworkEntityMockRecorder) Push

func (mr *MockNetworkEntityMockRecorder) Push(arg0, arg1 interface{}) *gomock.Call

Push indicates an expected call of Push.

func (*MockNetworkEntityMockRecorder) RemoteAddr

func (mr *MockNetworkEntityMockRecorder) RemoteAddr() *gomock.Call

RemoteAddr indicates an expected call of RemoteAddr.

func (*MockNetworkEntityMockRecorder) ResponseMID

func (mr *MockNetworkEntityMockRecorder) ResponseMID(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

ResponseMID indicates an expected call of ResponseMID.

func (*MockNetworkEntityMockRecorder) SendRequest

func (mr *MockNetworkEntityMockRecorder) SendRequest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SendRequest indicates an expected call of SendRequest.

Jump to

Keyboard shortcuts

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