gcs v0.1.1 interface, adding cache, Go configuration management platform

gcs(go config server)

v0.1.1 Release Notes:

  1. Interface calls instead go cache, adding cache support package cluster using redis
  2. Join version rollback function
  3. Interface performance: 10 seconds 1000 concurrent testing, processing 500 / sec per second; Since the local server, performance may deviate;

 

Introduction

gcs (go config server) configuration management platform, based on this project gf framework for the development, support for project management, configuration management, configuration publishing, project comparison, configure replication, and other interfaces obtains configuration;

Installation Tutorial

  1. Download the project from the git: git clone  https://gitee.com/goflyfox/gcs
  2. Install mysql database, created under the db, run the script deploy gcs.sql
  3. config.toml modify the configuration file config
Database Configuration # 
[Database] 
    Link = "the root: 123456 @ TCP (127.0.0.1:3306) / GCS"
  1. go build && go run main.go
  2. Visit http: // localhost to see the login page, username / password: admin / 123456

Other configurations

  1. If the cluster can be turned redis token mode; configuration is as follows:
# 2 gredis gcache cache mode. 1 
Cache-MODE = 2 

# the Redis database configuration 
[Redis] 
  default = "127.0.0.1:16379,0,soccer" 
  Cache = "127.0.0.1:16379,1,soccer?idleTimeout=600"

functional module

  1. Login, authentication, logout
  2. Project management
  3. Configuration parameters
  4. Configure Publishing
  5. Other: organizational management, user management, role management, menu management, log management

External Interface

Configuration Platform Interface

Screenshot platform

log in: image

Configuration Management: image

Configure Publishing: image

Configuration comparison: image

organization: image

User Management: image

Log Management: image

thank

  1. gf framework  https://github.com/gogf/gf

Guess you like

Origin www.oschina.net/news/110487/gcs-0-1-1-released