itest

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchmarkTCP4OneShot

func BenchmarkTCP4OneShot(b *testing.B)

func FatalOnError

func FatalOnError(t testing.TB, err error)

func RunServicesForNServers

func RunServicesForNServers(t testing.TB, n int, then func(s []*testServer, c *exporter.Client), customizers ...interface{})

func StartClient

func StartClient(t testing.TB, importerAddress string, services map[string]exporter.ServiceConfig, customizers []interface{}) *exporter.Client

func StartEchoService

func StartEchoService(t testing.TB) (net.Listener, func())

func StartServer

func StartServer(t testing.TB, services map[string]server.ServiceConfig, serverIdx int, customizers []interface{}) (net.Listener, *server.Server)

Types

This section is empty.

Jump to

Keyboard shortcuts

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