Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheConfig ¶
type CacheConfig struct {
Enabled bool `toml:"enabled"`
}
type Config ¶
type Config struct {
Server ServerConfig `toml:"server"`
Whitelist WhitelistConfig `toml:"whitelist"`
RateLimit RateLimitConfig `toml:"rate_limit"`
Performance PerformanceConfig `toml:"perfomance"`
Cache CacheConfig `toml:"cache"`
}
func LoadConfig ¶
type PerformanceConfig ¶
type RateLimitConfig ¶
type ServerConfig ¶
type WhitelistConfig ¶
Click to show internal directories.
Click to hide internal directories.