Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTP ¶
type HTTP struct { URL string `toml:"url"` Timeout internal.Duration `toml:"timeout"` Method string `toml:"method"` Username string `toml:"username"` Password string `toml:"password"` Headers map[string]string `toml:"headers"` ClientID string `toml:"client_id"` ClientSecret string `toml:"client_secret"` TokenURL string `toml:"token_url"` Scopes []string `toml:"scopes"` ContentEncoding string `toml:"content_encoding"` IdleConnTimeout internal.Duration `toml:"idle_conn_timeout"` tls.ClientConfig // contains filtered or unexported fields }
func (*HTTP) Description ¶
func (*HTTP) SampleConfig ¶
func (*HTTP) SetSerializer ¶
func (h *HTTP) SetSerializer(serializer serializers.Serializer)
Click to show internal directories.
Click to hide internal directories.