Documentation
¶
Index ¶
Constants ¶
View Source
const ( RequestUUIDContextKey RequestUUIDKey = "requestUUID" LoggerContextKey LoggerKey = "logger" SessionContextKey SessionKey = "session" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server ServerConfig `yaml:"server"`
}
func ReadConfig ¶
func ReadConfig() *Config
type CsrfConfig ¶
type RequestUUIDKey ¶
type RequestUUIDKey string
type ServerConfig ¶
type ServerConfig struct { Host string `yaml:"host"` AuthIP string `yaml:"auth_ip"` ProfileIP string `yaml:"profile_ip"` CartIP string `yaml:"cart_ip"` Port string `yaml:"port"` AuthServicePort string `yaml:"auth_service_port"` ProfileServicePort string `yaml:"profile_service_port"` CartServicePort string `yaml:"cart_service_port"` }
type SessionKey ¶
type SessionKey string
Click to show internal directories.
Click to hide internal directories.