Versions in this module Expand all Collapse all v0 v0.1.0 Mar 4, 2019 Changes in this version + type Client interface + Clone func() Client + Delete func(path string) ResponseWrapper + Error func() error + Get func(path string) ResponseWrapper + NoBasicAuth func() Client + Patch func(path string, body interface{}) ResponseWrapper + PatchBytes func(path string, body []byte) ResponseWrapper + PatchNoBody func(path string) ResponseWrapper + PatchString func(path string, body string) ResponseWrapper + Post func(path string, body interface{}) ResponseWrapper + PostBytes func(path string, body []byte) ResponseWrapper + PostForm func(path string, body url.Values) ResponseWrapper + PostNoBody func(path string) ResponseWrapper + PostString func(path string, body string) ResponseWrapper + Put func(path string, body interface{}) ResponseWrapper + PutBytes func(path string, body []byte) ResponseWrapper + PutNoBody func(path string) ResponseWrapper + PutString func(path string, body string) ResponseWrapper + UseBasicAuth func(string, string) Client + UseCookies func(bool) Client + WithHeader func(key, value string) Client + WithTimeout func(time.Duration) Client + func NewClient(url string) Client + func NewCustomClient(url string, httpClient *http.Client) Client + type ResponseWrapper interface + Body func() string + ExpectBodyContains func(string) ResponseWrapper + ExpectBodyEquals func(string) ResponseWrapper + ExpectBodyNotContains func(string) ResponseWrapper + ExpectBodyNotEquals func(string) ResponseWrapper + ExpectBodyPasses func(func(string) bool) ResponseWrapper + ExpectHeaderContains func(key, value string) ResponseWrapper + ExpectHeaderEquals func(key, value string) ResponseWrapper + ExpectHeaderNotContains func(key, value string) ResponseWrapper + ExpectHeaderNotEquals func(key, value string) ResponseWrapper + ExpectHeaderNotPresent func(key string) ResponseWrapper + ExpectHeaderPresent func(key string) ResponseWrapper + ExpectPasses func(func(resp *http.Response, body string) bool) ResponseWrapper + ExpectStatus func(int) ResponseWrapper + ParseBody func(interface{}) ResponseWrapper