Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Default ¶
type Default struct {
// 认证密钥
AuthCipher string
// 网关地址
Gateway string
// Mongo
Mongo string
// 名字
Name string
// 端口
Port int
// redis
Redis DefaultRedis
}
默认配置
func (Default) GetAuthCipher ¶ added in v1.4.0
func (Default) GetGateway ¶ added in v1.2.0
func (Default) GetRedis ¶
func (m Default) GetRedis() contract.IRedisOption
type DefaultRedis ¶ added in v1.2.0
默认Redis
func (DefaultRedis) GetAddr ¶ added in v1.2.0
func (m DefaultRedis) GetAddr() string
func (DefaultRedis) GetPassword ¶ added in v1.2.0
func (m DefaultRedis) GetPassword() string
Click to show internal directories.
Click to hide internal directories.