Versions in this module Expand all Collapse all v0 v0.12.4 Jan 17, 2024 Changes in this version + type Request struct + Header http.Header + Method string + type Response struct + Content []byte + ContentEncoding string + Etag string + LastModified *time.Time + type Stat struct + AllRequests int + CachedRequests int + Requests []Request + 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)