Versions in this module Expand all Collapse all v1 v1.0.1 Apr 28, 2019 v1.0.0 Mar 28, 2019 Changes in this version + func WithAllowRedirects(allowRedirects bool) fakeArgs + func WithHeaders(headers map[string]string) fakeArgs + func WithJson(json map[string]interface{}) fakeArgs + func WithParams(params map[string]string) fakeArgs + func WithTimeout(timeout time.Duration) fakeArgs + func WithVerify(verify bool) fakeArgs + type Resp struct + Body []byte + StatusCode int + func Delete(url string, arg ...fakeArgs) (*Resp, error) + func Get(url string, arg ...fakeArgs) (*Resp, error) + func Options(url string, arg ...fakeArgs) (*Resp, error) + func Patch(url string, arg ...fakeArgs) (*Resp, error) + func Post(url string, arg ...fakeArgs) (*Resp, error) + func Put(url string, arg ...fakeArgs) (*Resp, error) + func (cls *Resp) Header() map[string]string + func (cls *Resp) Json(arg ...interface{}) (val map[string]interface{}, err error) + func (cls *Resp) JsonAndValueIsString() (val map[string]string, err error) + func (cls *Resp) List(arg ...interface{}) (val []interface{}, err error)