Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server ServerConfig `yaml:"server"` JWT JWTConfig `yaml:"jwt"` Target TargetConfig `yaml:"target"` ExcludeAuth []Request `yaml:"excludeAuth"` }
Config of auth service
func ReadConfig ¶
ReadConfig read and decode config file
type ServerConfig ¶
type ServerConfig struct {
Port int `yaml:"port"`
}
type TargetConfig ¶
type TargetConfig struct {
URL string `yaml:"url"`
}
Click to show internal directories.
Click to hide internal directories.