Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePath ¶
ValidatePath validates the input path
Types ¶
type Configuration ¶
type Configuration struct { Server struct { Host string `yaml:"host"` Port string `yaml:"port"` } Memcache struct { Host string `yaml:"host"` Port string `yaml:"port"` } Backends []string `yaml:"backends"` MaxAttempts int `yaml:"max_attempts"` MaxRetries int `yaml:"max_retries"` Metrics bool `yaml:"metrics"` }
Configuration config struct
var Config *Configuration = &Configuration{}
Config is the global configuration object
Click to show internal directories.
Click to hide internal directories.