Versions in this module Expand all Collapse all v1 v1.0.0 Oct 28, 2020 Changes in this version + func ContinuouslyCheckUrl(t testing.TestingT, url string, stopChecking <-chan bool, ...) (*sync.WaitGroup, <-chan GetResponse) + func HTTPDo(t testing.TestingT, method string, url string, body io.Reader, ...) (int, string) + func HTTPDoE(t testing.TestingT, method string, url string, body io.Reader, ...) (int, string, error) + func HTTPDoWithCustomValidation(t testing.TestingT, method string, url string, body io.Reader, ...) + func HTTPDoWithCustomValidationE(t testing.TestingT, method string, url string, body io.Reader, ...) error + func HTTPDoWithRetry(t testing.TestingT, method string, url string, body []byte, ...) string + func HTTPDoWithRetryE(t testing.TestingT, method string, url string, body []byte, ...) (string, error) + func HTTPDoWithValidation(t testing.TestingT, method string, url string, body io.Reader, ...) + func HTTPDoWithValidationE(t testing.TestingT, method string, url string, body io.Reader, ...) error + func HTTPDoWithValidationRetry(t testing.TestingT, method string, url string, body []byte, ...) + func HTTPDoWithValidationRetryE(t testing.TestingT, method string, url string, body []byte, ...) error + func HttpGet(t testing.TestingT, url string, tlsConfig *tls.Config) (int, string) + func HttpGetE(t testing.TestingT, url string, tlsConfig *tls.Config) (int, string, error) + func HttpGetWithCustomValidation(t testing.TestingT, url string, tlsConfig *tls.Config, ...) + func HttpGetWithCustomValidationE(t testing.TestingT, url string, tlsConfig *tls.Config, ...) error + func HttpGetWithRetry(t testing.TestingT, url string, tlsConfig *tls.Config, expectedStatus int, ...) + func HttpGetWithRetryE(t testing.TestingT, url string, tlsConfig *tls.Config, expectedStatus int, ...) error + func HttpGetWithRetryWithCustomValidation(t testing.TestingT, url string, tlsConfig *tls.Config, retries int, ...) + func HttpGetWithRetryWithCustomValidationE(t testing.TestingT, url string, tlsConfig *tls.Config, retries int, ...) error + func HttpGetWithValidation(t testing.TestingT, url string, tlsConfig *tls.Config, expectedStatusCode int, ...) + func HttpGetWithValidationE(t testing.TestingT, url string, tlsConfig *tls.Config, expectedStatusCode int, ...) error + func RunDummyServer(t testing.TestingT, text string) (net.Listener, int) + func RunDummyServerE(t testing.TestingT, text string) (net.Listener, int, error) + func RunDummyServerWithHandlers(t testing.TestingT, ...) (net.Listener, int) + func RunDummyServerWithHandlersE(t testing.TestingT, ...) (net.Listener, int, error) + type GetResponse struct + Body string + StatusCode int + type ValidationFunctionFailed struct + Body string + Status int + Url string + func (err ValidationFunctionFailed) Error() string