Versions in this module Expand all Collapse all v1 v1.0.0 Sep 30, 2022 Changes in this version + type HandleFunc func(requests []*HttpRequest, w http.ResponseWriter, r *http.Request) + type HttpHandler struct + func (h *HttpHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request) + type HttpRequest struct + func (r *HttpRequest) GetTime() time.Time + type TestServer struct + func NewServer(h HandleFunc) *TestServer + func WithResponseAfter(t *testing.T, initial, after []byte, n int) *TestServer + func WithRotatingResponses(t *testing.T, payload ...[]byte) *TestServer + func (f *TestServer) Requests() []*HttpRequest