Documentation ¶
Index ¶
Constants ¶
View Source
const ( HTTPClient = "http" HTTPSClient = "https" ProxyEnv = "D7Y_SOURCE_PROXY" )
Variables ¶
This section is empty.
Functions ¶
func NewHTTPSourceClient ¶
func NewHTTPSourceClient(opts ...HTTPSourceClientOption) source.ResourceClient
NewHTTPSourceClient returns a new HTTPSourceClientOption.
Types ¶
type HTTPSourceClientOption ¶
type HTTPSourceClientOption func(p *httpSourceClient)
func WithHTTPClient ¶
func WithHTTPClient(client *http.Client) HTTPSourceClientOption
Click to show internal directories.
Click to hide internal directories.