Versions in this module Expand all Collapse all v4 v4.0.2 Jun 12, 2023 Changes in this version + type Doer struct + func NewDoer(client *http.Client, userAgent string) *Doer + func (d *Doer) Get(url string, response interface{}) (*http.Response, error) + func (d *Doer) Head(url string) (*http.Response, error) + func (d *Doer) Post(url string, body io.Reader, bodyType string, response interface{}) (*http.Response, error) + type RequestOption func(*http.Request) error