Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authentication ¶
type Authentication struct {
JwksURI string `yaml:"jwks_uri"`
}
type Authorization ¶
type Config ¶
type Config struct { Port int64 `yaml:"port"` TLS *TLS `yaml:"tls"` Cors *Cors `yaml:"cors"` Logging *Logging `yaml:"logging"` Authorization *Authorization `yaml:"authorization"` Authentication *Authentication `yaml:"authentication"` Backend *Backend `yaml:"backend"` }
func ConfigFromFile ¶
func (*Config) SetDefaults ¶
func (c *Config) SetDefaults()
type Cors ¶
type Cors struct { // Normalized list of plain allowed origins AllowedOrigins []string `yaml:"allowed_origins"` // Normalized list of allowed headers AllowedHeaders []string `yaml:"allowed_headers"` // Normalized list of allowed methods AllowedMethods []string `yaml:"allowed_methods"` // Normalized list of exposed headers ExposedHeaders []string `yaml:"exposed_headers"` }
Click to show internal directories.
Click to hide internal directories.