Documentation
¶
Overview ¶
Package tcpproxy is a test TCP forwarder that a test takes down (connections refused) and brings back on the same address, to stand in for a provider outage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
URL string
// contains filtered or unexported fields
}
Proxy forwards one local address to a target.
func New ¶
New forwards a fresh local address to endpoint's host (any URL); it starts up. URL is endpoint's scheme with the local address.
Click to show internal directories.
Click to hide internal directories.