Versions in this module Expand all Collapse all v0 v0.3.0 Mar 4, 2019 Changes in this version + func Debug(endpoint string) (*http.Response, error) + func DecodeBody(obj interface{}, body io.ReadCloser) error + func Delete(endpoint string, opts ...Option) (*http.Response, error) + func Get(endpoint string, opts ...Option) (*http.Response, error) + func Post(endpoint string, opts ...Option) (*http.Response, error) + type Option func(*http.Request) error + func WithContext(ctx context.Context) Option + func WithHeader(key string, value string) Option + func WithJSONBody(obj interface{}) Option + func WithQuery(query url.Values) Option + func WithRawData(data io.ReadCloser) Option