Versions in this module Expand all Collapse all v0 v0.0.2 Feb 16, 2015 v0.0.1 Dec 1, 2014 Changes in this version + var DefaultClient = &http.Client + type HTTPServer struct + Timeout time.Duration + URL string + func NewHTTPServer() *HTTPServer + func (s *HTTPServer) Flush() + func (s *HTTPServer) Response(status int, headers map[string]string, body string) + func (s *HTTPServer) ResponseFunc(n int, f ResponseFunc) + func (s *HTTPServer) ResponseMap(n int, m ResponseMap) + func (s *HTTPServer) Responses(n int, status int, headers map[string]string, body string) + func (s *HTTPServer) ServeHTTP(w http.ResponseWriter, req *http.Request) + func (s *HTTPServer) Start() + func (s *HTTPServer) WaitRequest() *http.Request + func (s *HTTPServer) WaitRequests(n int) []*http.Request + type Response struct + Body string + Headers map[string]string + Status int + type ResponseFunc func(path string) Response + type ResponseMap map[string]Response