testhelper

package
v2.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TimeoutAfter

func TimeoutAfter(after time.Duration, f func()) error

Types

type Upstream

type Upstream struct {
	Connections chan net.Conn
	// contains filtered or unexported fields
}

func NewUpstream

func NewUpstream(t testing.TB, ignoreData bool) *Upstream

func (*Upstream) Addr

func (u *Upstream) Addr() string

func (*Upstream) Close

func (u *Upstream) Close()

Jump to

Keyboard shortcuts

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