rpc

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientManager

type ClientManager struct {
	mock.Mock
}

ClientManager is an autogenerated mock type for the ClientManager type

func NewClientManager

func NewClientManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientManager

NewClientManager creates a new instance of ClientManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientManager) Client

func (_m *ClientManager) Client() grpc.ClientConnInterface

Client provides a mock function with given fields:

func (*ClientManager) EXPECT

func (_m *ClientManager) EXPECT() *ClientManager_Expecter

func (*ClientManager) MustConnect

func (_m *ClientManager) MustConnect() rpc.ClientManager

MustConnect provides a mock function with given fields:

func (*ClientManager) Teardown

func (_m *ClientManager) Teardown()

Teardown provides a mock function with given fields:

type ClientManager_Client_Call

type ClientManager_Client_Call struct {
	*mock.Call
}

ClientManager_Client_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Client'

func (*ClientManager_Client_Call) Return

func (*ClientManager_Client_Call) Run

func (*ClientManager_Client_Call) RunAndReturn

type ClientManager_Expecter

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

func (*ClientManager_Expecter) Client

Client is a helper method to define mock.On call

func (*ClientManager_Expecter) MustConnect

MustConnect is a helper method to define mock.On call

func (*ClientManager_Expecter) Teardown

Teardown is a helper method to define mock.On call

type ClientManager_MustConnect_Call

type ClientManager_MustConnect_Call struct {
	*mock.Call
}

ClientManager_MustConnect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MustConnect'

func (*ClientManager_MustConnect_Call) Return

func (*ClientManager_MustConnect_Call) Run

func (*ClientManager_MustConnect_Call) RunAndReturn

type ClientManager_Teardown_Call

type ClientManager_Teardown_Call struct {
	*mock.Call
}

ClientManager_Teardown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Teardown'

func (*ClientManager_Teardown_Call) Return

func (*ClientManager_Teardown_Call) Run

func (*ClientManager_Teardown_Call) RunAndReturn

func (_c *ClientManager_Teardown_Call) RunAndReturn(run func()) *ClientManager_Teardown_Call

type ClientManager_connect_Call

type ClientManager_connect_Call struct {
	*mock.Call
}

ClientManager_connect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'connect'

func (*ClientManager_connect_Call) Return

func (*ClientManager_connect_Call) Run

func (*ClientManager_connect_Call) RunAndReturn

func (_c *ClientManager_connect_Call) RunAndReturn(run func() error) *ClientManager_connect_Call

Jump to

Keyboard shortcuts

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