package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.git
Documentation: pkg.go.dev

# Functions

NewRecorder returns an initialized ResponseRecorder.
NewServer starts and returns a new Server.
NewTLSServer starts and returns a new Server using TLS.
NewUnstartedServer returns a new Server but doesn't start it.

# Constants

DefaultRemoteAddr is the default remote address to return in RemoteAddr if an explicit DefaultRemoteAddr isn't set on ResponseRecorder.

# Structs

ResponseRecorder is an implementation of http.ResponseWriter that records its mutations for later inspection in tests.
A Server is an HTTP server listening on a system-chosen port on the local loopback interface, for use in end-to-end HTTP tests.