Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPConfig ¶
type HTTPConfig struct { URL string // SSL Insecure bool // Basic Auth Username string Password string // OAuth2 OAuth2Creds clientcredentials.Config // Bearer Token BearerToken string }
func (*HTTPConfig) Client ¶
func (cfg *HTTPConfig) Client() *http.Client
Client prepares a http client for a given configuration.
Click to show internal directories.
Click to hide internal directories.