Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct {
Type string `yaml:"type"`
Options map[string]interface{} `yaml:"options"`
Require []filter.RequireConfig `yaml:"require"`
}
type CertAuthConfig ¶
type CertAuthConfig struct {
Name string `yaml:"name"`
Type string `yaml:"type"`
Options map[string]interface{} `yaml:"options"`
}
func (*CertAuthConfig) ApplyDefaults ¶
func (c *CertAuthConfig) ApplyDefaults()
type Config ¶
type Config struct {
CertAuths []CertAuthConfig `yaml:"certauths,omitempty"`
Auth AuthConfig `yaml:"auth"`
Env envconfig.Config `yaml:"env"`
Server ServerConfig `yaml:"server"`
Services []ServiceConfig `yaml:"services"`
}
func (*Config) ApplyDefaults ¶
func (c *Config) ApplyDefaults()
type ServerConfig ¶
type ServerConfig struct {
CertificatePath string `yaml:"certificate_path"`
Host string `yaml:"host"`
Port int `yaml:"port"`
PrivateKeyPath string `yaml:"private_key_path"`
Redirect ServerRedirectConfig `yaml:"redirect"`
}
func (*ServerConfig) ApplyDefaults ¶
func (c *ServerConfig) ApplyDefaults()
type ServerRedirectConfig ¶
type ServiceConfig ¶
type ServiceConfig struct {
Name string `yaml:"name"`
Type string `yaml:"type"`
Require []filter.RequireConfig `yaml:"require"`
Options map[string]interface{} `yaml:"options"`
}
func (*ServiceConfig) ApplyDefaults ¶
func (c *ServiceConfig) ApplyDefaults()
Click to show internal directories.
Click to hide internal directories.