Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
func Open(name string, options ...ClientOption) (io.ReadCloser, error)
Open opens an io.ReadCloser from a local file or URL
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps extended HTTP client helpers.
type ClientOption ¶
ClientOption type
func WithHTTPClient ¶
func WithHTTPClient(v *http.Client) ClientOption
WithHttpClient returns a ClientOption that sets the http.Client
Click to show internal directories.
Click to hide internal directories.