Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EtcdConfig ¶
func GetEtcdConfig ¶
func GetEtcdConfig() (ret EtcdConfig)
type JwtConfig ¶
type JwtConfig interface {
GetSecretKey() string
}
func GetJwtConfig ¶
func GetJwtConfig() (ret JwtConfig)
type MisConfig ¶
type MisConfig interface { GetImageAddr() string GetMailUser() string GetMailPass() string GetDialogPath() string GetDialogPrefix() string GetMLAddr() string GetMLPort() int }
func GetMisconfig ¶
func GetMisconfig() (ret MisConfig)
type MysqlConfig ¶
type MysqlConfig interface { GetURL() string GetName() string GetPsw() string GetDbName() string GetEnabled() bool GetMigrate() bool GetMaxIdleConnection() int GetMaxOpenConnection() int GetConnMaxLifetime() int }
func GetMysqlConfig ¶
func GetMysqlConfig() (ret MysqlConfig)
type RedisConfig ¶
type RedisConfig interface { GetEnabled() bool GetConn() string GetPassword() string GetDBNum() int GetSentinelConfig() RedisSentinelConfig }
func GetRedisConfig ¶
func GetRedisConfig() (ret RedisConfig)
type RedisSentinelConfig ¶
Click to show internal directories.
Click to hide internal directories.