gcs

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

README

gcs

介绍

gcs(go config server) 配置管理平台,此项目基于gf框架开发,支持项目管理、配置管理、配置发布、项目对比、配置复制,接口获取配置等;

安装教程
  1. 从git下载项目: git clone https://github.com/goflyfox/gcs
  2. 安装mysql数据库,创建db,运行deploy下gcs.sql脚本
  3. 修改config下config.toml配置文件
# 数据库配置
[database]
    link = "root:123456@tcp(127.0.0.1:3306)/gcs"
  1. go run main.go ; 编译使用 go build
  2. 访问http://localhost即可看到登录页面,账号/密码:admin/123456
其他配置
  1. 如果使用集群,可以开启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"
功能模块
  1. 登录、认证、登出
  2. 项目管理
  3. 参数配置
  4. 配置发布
  5. 支持菜单权限及项目权限配置
  6. 其他:组织机构管理、用户管理、角色管理、菜单管理、日志管理
对外接口
  1. 配置平台接口
  2. 基于GF客户端实现
github地址:https://github.com/goflyfox/gcsc
gitee地址:https://gitee.com/goflyfox/gcsc
平台截图

登录: image

配置管理: image

配置发布: image

配置对比: image

组织机构: image

用户管理: image

日志管理: image

感谢
  1. gf框架 https://github.com/gogf/gf
项目支持

jflyfox

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
module
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL