prototest

package
v0.0.0-...-c5da4db Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunB

func RunB(
	b *testing.B,
	numServers int,
	registerFunc func(map[string]*grpc.Server),
	benchFunc func(*testing.B, map[string]*grpc.ClientConn),
	after ...func(),
)

RunB runs the benchFunc in the context of a number of grpc Servers.

func RunT

func RunT(
	t *testing.T,
	numServers int,
	registerFunc func(map[string]*grpc.Server),
	testFunc func(*testing.T, map[string]*grpc.ClientConn),
	after ...func(),
)

RunT runs the testFunc in the context of a number of grpc Servers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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