Versions in this module Expand all Collapse all v1 v1.0.0 Aug 26, 2018 Changes in this version + type MultiError struct + Errors []error + func (e MultiError) Error() string + type Rekwest interface + BasicAuth func(string, string) Rekwest + BearerToken func(string) Rekwest + Body func(io.Reader) Rekwest + BytesBody func([]byte) Rekwest + Client func(*http.Client) Rekwest + Context func(context.Context) Rekwest + Do func(...interface{}) error + Errors func() []error + Header func(string, string) Rekwest + Headers func(map[string]string) Rekwest + JSONBody func(interface{}) Rekwest + MarshalBody func(interface{}, func(interface{}) ([]byte, error)) Rekwest + Method func(string) Rekwest + OK func() bool + ResponseFormat func(ResponseFormat) Rekwest + Timeout func(time.Duration) Rekwest + XMLBody func(interface{}) Rekwest + func New(url string) Rekwest + type ResponseFormat string + const ResponseFormatBytes + const ResponseFormatContentType + const ResponseFormatJSON + const ResponseFormatXML