Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeEndpointHookFunc ¶
func DecodeEndpointHookFunc() mapstructure.DecodeHookFunc
Types ¶
type AuthenticationStrategy ¶
type Endpoint ¶
type Endpoint struct {
URL string `mapstructure:"url" validate:"required,url,enforced=istls"`
Method string `mapstructure:"method"`
Retry *Retry `mapstructure:"retry"`
AuthStrategy AuthenticationStrategy `mapstructure:"auth"`
Headers map[string]string `mapstructure:"headers"`
HTTPCache *HTTPCache `mapstructure:"http_cache"`
}
func (Endpoint) CreateRequest ¶
type RenderFunc ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.