Versions in this module Expand all Collapse all v0 v0.3.0 Sep 23, 2022 v0.2.0 Sep 23, 2022 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 HTTPDoWithCustomValidationWithOptions(t testing.TestingT, options HttpDoOptions, ...) + func HTTPDoWithCustomValidationWithOptionsE(t testing.TestingT, options HttpDoOptions, ...) error + func HTTPDoWithOptions(t testing.TestingT, options HttpDoOptions) (int, string) + func HTTPDoWithOptionsE(t testing.TestingT, options HttpDoOptions) (int, string, 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 HTTPDoWithRetryWithOptions(t testing.TestingT, options HttpDoOptions, expectedStatus int, retries int, ...) string + func HTTPDoWithRetryWithOptionsE(t testing.TestingT, options HttpDoOptions, expectedStatus int, retries int, ...) (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 HTTPDoWithValidationRetryWithOptions(t testing.TestingT, options HttpDoOptions, expectedStatus int, ...) + func HTTPDoWithValidationRetryWithOptionsE(t testing.TestingT, options HttpDoOptions, expectedStatus int, ...) error + func HTTPDoWithValidationWithOptions(t testing.TestingT, options HttpDoOptions, expectedStatusCode int, ...) + func HTTPDoWithValidationWithOptionsE(t testing.TestingT, options HttpDoOptions, expectedStatusCode int, ...) 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 HttpGetWithCustomValidationWithOptions(t testing.TestingT, options HttpGetOptions, ...) + func HttpGetWithCustomValidationWithOptionsE(t testing.TestingT, options HttpGetOptions, ...) error + func HttpGetWithOptions(t testing.TestingT, options HttpGetOptions) (int, string) + func HttpGetWithOptionsE(t testing.TestingT, options HttpGetOptions) (int, string, 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 HttpGetWithRetryWithCustomValidationWithOptions(t testing.TestingT, options HttpGetOptions, retries int, ...) + func HttpGetWithRetryWithCustomValidationWithOptionsE(t testing.TestingT, options HttpGetOptions, retries int, ...) error + func HttpGetWithRetryWithOptions(t testing.TestingT, options HttpGetOptions, expectedStatus int, ...) + func HttpGetWithRetryWithOptionsE(t testing.TestingT, options HttpGetOptions, expectedStatus 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 HttpGetWithValidationWithOptions(t testing.TestingT, options HttpGetOptions, expectedStatusCode int, ...) + func HttpGetWithValidationWithOptionsE(t testing.TestingT, options HttpGetOptions, 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 HttpDoOptions struct + Body io.Reader + Headers map[string]string + Method string + Timeout int + TlsConfig *tls.Config + Url string + type HttpGetOptions struct + Timeout int + TlsConfig *tls.Config + Url string + type ValidationFunctionFailed struct + Body string + Status int + Url string + func (err ValidationFunctionFailed) Error() string