testing

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 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

func TestServerMTLSAddr() string

func TestServerNoReflectAddr

func TestServerNoReflectAddr() string

func TestServerTLSAddr

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