fakegrpc

package
v1.0.0-beta7 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package fakegrpc ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeGrpcSessionFactory

type FakeGrpcSessionFactory struct {
	//FailGrpcConnection ...
	FailGrpcConnection bool
	//FailGrpcConnectionErr with specific error msg...
	FailGrpcConnectionErr string
	//PassGrpcConnection ...
	PassGrpcConnection bool
}

FakeGrpcSessionFactory implements grpcClient.GrpcSessionFactory

func (*FakeGrpcSessionFactory) NewGrpcSession

func (f *FakeGrpcSessionFactory) NewGrpcSession() grpcClient.GrpcSession

NewGrpcSession method creates a new fakeGrpcSession session

Jump to

Keyboard shortcuts

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