testing

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

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

	// CheckHeader is used to echo specified headers back
	CheckHeader = "check-header"
)

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 TestServerNoReflectAddr added in v1.3.0

func TestServerNoReflectAddr() string

func TestServerTLSAddr added in v1.2.0

func TestServerTLSAddr() string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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