testing

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// grpc code to exit the method
	// useful when testing errors behavior
	MethodExitCode = "exit-code"
)

Variables

This section is empty.

Functions

func SetupTestServer

func SetupTestServer() error

func StopTestServer

func StopTestServer()

func TestServerAddr

func TestServerAddr() string

func TestServerInstance

func TestServerInstance() *grpc.Server

func TestServerMTLSAddr added in v1.2.0

func TestServerMTLSAddr() string

func TestServerTLSAddr added in v1.2.0

func TestServerTLSAddr() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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