package
Version:
v0.9.12
Opens a new window with list of versions in this module.
Published: Jun 11, 2020
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func MysqlGroup() *mysqlGroup
MysqlGroup 读取多条mysql配置项
ReadFromFile read from file
func Redis() (options *redisConfig)
func Server() (options *server)
Server return server config
type DataSource struct {
Host string `mapstruture:"host"`
Port int `mapstructure:"port"`
User string `mapstructure:"user"`
Password string `mapstructure:"password"`
Name string `mapstructure:"name"`
}
DataSource 连接配置
Source Files
¶
Click to show internal directories.
Click to hide internal directories.