Giter VIP home page Giter VIP logo

dcmp's Introduction

DCMP

Build Status

Distributed Configuration Management Platform

提供了一个etcd的管理界面,可通过界面修改配置信息,借助confd可实现配置文件的同步。

安装 && 启动

> go get github.com/silenceper/dcmp
> ./service.sh

配置


listen: "0.0.0.0:8000"  # 监听的IP,端口

base_path: "/config"    #etcd读取的根目录

endpoints:              # etcd 接入地址
   - "http://127.0.0.1:2379"

# etcd ssl 配置
#
# ca_file: "/path/to/ca.crt"
# cert_file: "/path/to/client.crt"
# key_file: "/path/to/client.key"



界面预览

访问 http://127.0.0.1:8000/

snapshot

dcmp's People

Contributors

silenceper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dcmp's Issues

undefined: validator.Config

sh service.sh

github.com/gin-gonic/gin/binding

....\gin-gonic\gin\binding\default_validator.go:29: undefined: validator.Config
....\gin-gonic\gin\binding\default_validator.go:30: too many arguments in call to validator.New
service.sh: line 2: ./bin/dcmp: No such file or directory

请教js

bundle.js 是怎么得来的(貌似是其他几个js的压缩集合版),我修改Header.jsx不生效,怎么破,在线等大声赐教,

编译bug ,help

当我运行service.sh脚本时报错,如下:

# github.com/coreos/etcd/pkg/transport ../go/lib/src/github.com/coreos/etcd/pkg/transport/listener.go:183: cfg.VerifyPeerCertificate undefined (type *tls.Config has no field or method VerifyPeerCertificate) ../go/lib/src/github.com/coreos/etcd/pkg/transport/listener.go:200: cfg.GetClientCertificate undefined (type *tls.Config has no field or method GetClientCertificate) ../go/lib/src/github.com/coreos/etcd/pkg/transport/listener.go:200: undefined: tls.CertificateRequestInfo ../go/lib/src/github.com/coreos/etcd/pkg/transport/listener_tls.go:233: undefined: net.DefaultResolver in net.DefaultResolver.LookupAddr ./service.sh:行2: ./bin/dcmp: 没有那个文件或目录

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.