Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { WithContext(context.Context) Builder WithBody(io.Reader) Builder WithMethod(string) Builder WithHeaders(http.Header) Builder SetHeader(key, value string) Builder Do() Result }
Builder allows users to construct a request and then execute the request via Do(). Do returns a Result which allows the user to get the body, unmarshal the body into an interface, or into a simplejson.Json.
Click to show internal directories.
Click to hide internal directories.