Versions in this module Expand all Collapse all v1 v1.0.2 Nov 25, 2023 v1.0.1 Sep 19, 2022 Changes in this version + type MockHandler struct + BasicAuth struct{ ... } + Connected chan struct{} + ContentType string + MaxRequestsToProcess int + Server *httptest.Server + URL string + func NewMockHandler(t *testing.T) *MockHandler + func (h *MockHandler) Close() + func (h *MockHandler) CloseActiveRequest(block bool) + func (h *MockHandler) Flush() + func (h *MockHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request) + func (h *MockHandler) WriteEvent(event *base.MessageEvent) + func (h *MockHandler) WriteRetry(delayInMillis int)