Categorygithub.com/ynsluhan/go-config
modulepackage
1.1.4
Repository: https://github.com/ynsluhan/go-config.git
Documentation: pkg.go.dev

# README

go-config

读取配置文件

# Functions

* * @Author yNsLuHan * @Description: 获取配置文件实例对象 * @return Config */.
* * @Author yNsLuHan * @Time 2021-06-08 15:05:38 * @Description: 获取Env * @param host host * @return string env */.
* * @Author yNsLuHan * @Time 2021-06-08 15:05:18 * @Description: 获取yaml配置文件 * @param c config */.

# Structs

* * @Author yNsLuHan * @Description: Cloud */.
* * @Author yNsLuHan * @Description: config配文件构造体 */.
* * @Author yNsLuHan * @Description: Consul */.
* * @Author yNsLuHan * @Description: 数据库构造体 */.
* * @Author yNsLuHan * @Description: Nacos */.
* * @Author yNsLuHan * @Description: redis Sentinel 构造体 redis Sentinel Node 构造体 */.
* * @Author yNsLuHan * @Description: 管理员权限、角色id配置 */.
* * @Author yNsLuHan * @Description: redis Pool 构造体 */.
* * @Author yNsLuHan * @Description: 服务器属性构造体 */.
* * @Author yNsLuHan * @Description: 服务器属性构造体 */.