test

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIRegistration

type APIRegistration func(registrar grpc.ServiceRegistrar)

type GRPCServer

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

func NewTestGRPCServer

func NewTestGRPCServer(tb testing.TB, registrations ...APIRegistration) (srv *GRPCServer)

func (*GRPCServer) Dial

func (t *GRPCServer) Dial(ctx context.Context, tb testing.TB, opts ...grpc.DialOption) *grpc.ClientConn

Jump to

Keyboard shortcuts

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