Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Doer ¶
type Doer struct {
// contains filtered or unexported fields
}
func NewDoer ¶
NewDoer Creates a new Doer.
func (*Doer) Get ¶
Get performs a GET request with a proper User-Agent string. If "response" is not provided, callers should close resp.Body when done reading from it.
func (*Doer) Head ¶
Head performs a HEAD request with a proper User-Agent string. The response body (resp.Body) is already closed when this function returns.
Click to show internal directories.
Click to hide internal directories.