Versions in this module Expand all Collapse all v0 v0.3.1 Oct 17, 2018 v0.3.0 Oct 12, 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)