testproxy

package
v0.2.1-0...-a6904e9 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TCP

type TCP struct {
	// contains filtered or unexported fields
}

func NewTCP

func NewTCP(t *testing.T, from, to string) *TCP

func (*TCP) Stop

func (p *TCP) Stop()

func (*TCP) Timeout

func (p *TCP) Timeout(timeout time.Duration)

type UDP

type UDP struct {
	// contains filtered or unexported fields
}

func NewUDP

func NewUDP(t *testing.T, from, to string) *UDP

func (*UDP) Stop

func (p *UDP) Stop(timeout time.Duration)

func (*UDP) Timeout

func (p *UDP) Timeout(timeout time.Duration)

Jump to

Keyboard shortcuts

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