Documentation ¶ Index ¶ func New(t *testing.T) (string, int) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(t *testing.T) (string, int) New creates a new goproxy server on a random port and returns the address and the port of this server. It also registers a cleanup functions to close the server and the listener when the test ends. Types ¶ This section is empty. Source Files ¶ View all Source files proxy.go Click to show internal directories. Click to hide internal directories.