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)
Click to show internal directories.
Click to hide internal directories.