Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { App AppConfig Mysql MysqlConfig Redis RedisConfig }
Config aggregation
type MysqlConfig ¶
type MysqlConfig struct { Host string Port int Database string User string Password string Logging bool }
func (MysqlConfig) DSN ¶
func (c MysqlConfig) DSN() string
type RedisConfig ¶
func (RedisConfig) Address ¶
func (c RedisConfig) Address() string
Click to show internal directories.
Click to hide internal directories.