mockrpcwrapper

package
v1.0.41 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2017 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRPCClient

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

MockRPCClient is a mock of RPCClient interface

func NewMockRPCClient

func NewMockRPCClient(ctrl *gomock.Controller) *MockRPCClient

NewMockRPCClient creates a new mock instance

func (*MockRPCClient) CheckValidity

func (_m *MockRPCClient) CheckValidity(_param0 *rpcwrapper.Request, _param1 string) bool

CheckValidity mocks base method

func (*MockRPCClient) ContextList

func (_m *MockRPCClient) ContextList() []string

ContextList mocks base method

func (*MockRPCClient) DestroyRPCClient

func (_m *MockRPCClient) DestroyRPCClient(_param0 string)

DestroyRPCClient mocks base method

func (*MockRPCClient) EXPECT

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

func (*MockRPCClient) GetRPCClient

func (_m *MockRPCClient) GetRPCClient(_param0 string) (*rpcwrapper.RPCHdl, error)

GetRPCClient mocks base method

func (*MockRPCClient) NewRPCClient

func (_m *MockRPCClient) NewRPCClient(_param0 string, _param1 string, _param2 string) error

NewRPCClient mocks base method

func (*MockRPCClient) RemoteCall

func (_m *MockRPCClient) RemoteCall(_param0 string, _param1 string, _param2 *rpcwrapper.Request, _param3 *rpcwrapper.Response) error

RemoteCall mocks base method

type MockRPCClientMockRecorder

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

MockRPCClientMockRecorder is the mock recorder for MockRPCClient

func (*MockRPCClientMockRecorder) CheckValidity

func (_mr *MockRPCClientMockRecorder) CheckValidity(arg0, arg1 interface{}) *gomock.Call

CheckValidity indicates an expected call of CheckValidity

func (*MockRPCClientMockRecorder) ContextList

func (_mr *MockRPCClientMockRecorder) ContextList() *gomock.Call

ContextList indicates an expected call of ContextList

func (*MockRPCClientMockRecorder) DestroyRPCClient

func (_mr *MockRPCClientMockRecorder) DestroyRPCClient(arg0 interface{}) *gomock.Call

DestroyRPCClient indicates an expected call of DestroyRPCClient

func (*MockRPCClientMockRecorder) GetRPCClient

func (_mr *MockRPCClientMockRecorder) GetRPCClient(arg0 interface{}) *gomock.Call

GetRPCClient indicates an expected call of GetRPCClient

func (*MockRPCClientMockRecorder) NewRPCClient

func (_mr *MockRPCClientMockRecorder) NewRPCClient(arg0, arg1, arg2 interface{}) *gomock.Call

NewRPCClient indicates an expected call of NewRPCClient

func (*MockRPCClientMockRecorder) RemoteCall

func (_mr *MockRPCClientMockRecorder) RemoteCall(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

RemoteCall indicates an expected call of RemoteCall

type MockRPCServer

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

MockRPCServer is a mock of RPCServer interface

func NewMockRPCServer

func NewMockRPCServer(ctrl *gomock.Controller) *MockRPCServer

NewMockRPCServer creates a new mock instance

func (*MockRPCServer) CheckValidity

func (_m *MockRPCServer) CheckValidity(_param0 *rpcwrapper.Request, _param1 string) bool

CheckValidity mocks base method

func (*MockRPCServer) EXPECT

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

func (*MockRPCServer) ProcessMessage

func (_m *MockRPCServer) ProcessMessage(_param0 *rpcwrapper.Request, _param1 string) bool

ProcessMessage mocks base method

func (*MockRPCServer) StartServer

func (_m *MockRPCServer) StartServer(_param0 string, _param1 string, _param2 interface{}) error

StartServer mocks base method

type MockRPCServerMockRecorder

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

MockRPCServerMockRecorder is the mock recorder for MockRPCServer

func (*MockRPCServerMockRecorder) CheckValidity

func (_mr *MockRPCServerMockRecorder) CheckValidity(arg0, arg1 interface{}) *gomock.Call

CheckValidity indicates an expected call of CheckValidity

func (*MockRPCServerMockRecorder) ProcessMessage

func (_mr *MockRPCServerMockRecorder) ProcessMessage(arg0, arg1 interface{}) *gomock.Call

ProcessMessage indicates an expected call of ProcessMessage

func (*MockRPCServerMockRecorder) StartServer

func (_mr *MockRPCServerMockRecorder) StartServer(arg0, arg1, arg2 interface{}) *gomock.Call

StartServer indicates an expected call of StartServer

Jump to

Keyboard shortcuts

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