Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisConfig ¶
type ServerConfig ¶
type StaticFileConfig ¶
type StaticFileConfig interface { GetServer() *ServerConfig GetCache() *RedisConfig }
type YamlConfig ¶
type YamlConfig struct { Server *ServerConfig `yaml:"server"` Redis *RedisConfig `yaml:"redis"` }
func (*YamlConfig) GetCache ¶
func (m *YamlConfig) GetCache() *RedisConfig
func (*YamlConfig) GetServer ¶
func (m *YamlConfig) GetServer() *ServerConfig
Click to show internal directories.
Click to hide internal directories.