Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Log config
LogLevel int `json:"log_level"`
// Instrumentation config
StatsDHostAndPort string `json:"stats_d_host_and_port"`
// Rate Limiter config
RateLimiterMaxConcurrent int `json:"rate_limiter_max_concurrent"`
// contains filtered or unexported fields
}
Config is the result of loading config from a file
func LoadFromFile ¶
LoadFromFile loads the config from the supplied path
Click to show internal directories.
Click to hide internal directories.