command
module
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Mar 31, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
gcs
介绍
gcs(go config server) 配置管理平台,此项目基于gf框架开发,支持项目管理、配置管理、配置发布、项目对比、配置复制,接口获取配置等;
安装教程
- 从git下载项目: git clone https://github.com/goflyfox/gcs
- 安装mysql数据库,创建db,运行deploy下gcs.sql脚本
- 修改config下config.toml配置文件
# 数据库配置
[database]
link = "root:123456@tcp(127.0.0.1:3306)/gcs"
go run main.go
; 编译使用 go build
- 访问http://localhost即可看到登录页面,账号/密码:admin/123456
其他配置
- 如果使用集群,可以开启redis token模式;配置如下:
# 缓存模式 1 gcache 2 gredis
cache-mode = 2
# Redis数据库配置
[redis]
default = "127.0.0.1:16379,0,soccer"
cache = "127.0.0.1:16379,1,soccer?idleTimeout=600"
功能模块
- 登录、认证、登出
- 项目管理
- 参数配置
- 配置发布
- 支持菜单权限及项目权限配置
- 其他:组织机构管理、用户管理、角色管理、菜单管理、日志管理
对外接口
- 配置平台接口
- 基于GF客户端实现
github地址:https://github.com/goflyfox/gcsc
gitee地址:https://gitee.com/goflyfox/gcsc
平台截图
登录:
配置管理:
配置发布:
配置对比:
组织机构:
用户管理:
日志管理:
感谢
- gf框架 https://github.com/gogf/gf
项目支持
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
module
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.