Documentation ¶
Index ¶
- func GetLogPath() string
- func InitGorm(key string) *gorm.DB
- func InitMgo(key string) *mgo.Session
- func InitMongo(key string) *mongo.Client
- func InitMysql(key string) *sql.DB
- func InitRedis(key string, db int) *redis.Pool
- func InitRedis1(key string, db int) *redisv7.Client
- func InitRedis1ConfDb(key string) *redisv7.Client
- func InitRedisConfDb(redisKey string) *redis.Pool
- func NewLoger(path string) *zap.Logger
- type ConfigParse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigParse ¶
ConfigParse 配置环境
Click to show internal directories.
Click to hide internal directories.