mock_test

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-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 MockGRPCConnector

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

func NewMockGRPCConnector

func NewMockGRPCConnector(conn *grpc.ClientConn) *MockGRPCConnector

func (*MockGRPCConnector) Close

func (mc *MockGRPCConnector) Close()

func (*MockGRPCConnector) GetRpc

func (mc *MockGRPCConnector) GetRpc(ctx context.Context, block bool) (*grpc.ClientConn, error)

func (*MockGRPCConnector) ReturnRpc

func (mc *MockGRPCConnector) ReturnRpc(rpc *grpc.ClientConn)

Jump to

Keyboard shortcuts

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