Versions in this module Expand all Collapse all v1 v1.7.28 Jan 13, 2021 Changes in this version + const CITimeoutMultiplier + func Do(timeout time.Duration, operation DoCondition) error + func GetRequest(url string, timeout time.Duration, conditions ...ResponseCondition) error + func Request(req *http.Request, timeout time.Duration, conditions ...ResponseCondition) error + func RequestWithTransport(req *http.Request, timeout time.Duration, transport *http.Transport, ...) error + func Response(req *http.Request, timeout time.Duration) (*http.Response, error) + func ResponseUntilStatusCode(req *http.Request, timeout time.Duration, statusCode int) (*http.Response, error) + func Sleep(d time.Duration) + type DoCondition func() error + func KVExists(kv store.Store, key string) DoCondition + type ResponseCondition func(*http.Response) error + func BodyContains(values ...string) ResponseCondition + func BodyContainsOr(values ...string) ResponseCondition + func BodyNotContains(values ...string) ResponseCondition + func HasBody() ResponseCondition + func HasCn(cn string) ResponseCondition + func StatusCodeIs(status int) ResponseCondition