Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
Type string `config:"type"`
// type: basic
Username string `config:"username"`
Password string `config:"password"`
// type: bearer
Token string `config:"token"`
// type: jwt
Secret string `config:"secret"`
// type: oauth2
Provider string `config:"provider"`
ClientID string `config:"client_id"`
ClientSecret string `config:"client_secret"`
RedirectURL string `config:"redirect_url"`
Scopes []string `config:"scopes"`
}
type HealthCheck ¶
type Request ¶
type Request struct {
Path RequestPath `config:"path"`
Headers map[string]string `config:"headers"`
Query map[string]string `config:"query"`
}
type RequestPath ¶
Click to show internal directories.
Click to hide internal directories.