Versions in this module Expand all Collapse all v0 v0.3.3 Nov 21, 2018 v0.3.2 Oct 31, 2018 Changes in this version + type Response struct + Content []byte + Etag string + LastModified *time.Time + type Stat struct + AllRequests int + CachedRequests int + type TestServer struct + func NewTestServer(routes map[string]Response) *TestServer + func (s *TestServer) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (s *TestServer) SetRoute(name string, resp Response) + func (s *TestServer) Stats(name string) (st Stat)