mocks

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2019 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(ctx context.Context) error

Kick mocks base method

func (*MockNetworkEntity) Push

func (m *MockNetworkEntity) Push(route string, v 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(ctx context.Context, mid uint, v interface{}, isError ...bool) error

ResponseMID mocks base method

func (*MockNetworkEntity) SendRequest

func (m *MockNetworkEntity) SendRequest(ctx context.Context, serverID, route string, v 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(ctx interface{}) *gomock.Call

Kick indicates an expected call of Kick

func (*MockNetworkEntityMockRecorder) Push

func (mr *MockNetworkEntityMockRecorder) Push(route, v 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(ctx, mid, v interface{}, isError ...interface{}) *gomock.Call

ResponseMID indicates an expected call of ResponseMID

func (*MockNetworkEntityMockRecorder) SendRequest

func (mr *MockNetworkEntityMockRecorder) SendRequest(ctx, serverID, route, v 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