Giter VIP home page Giter VIP logo

etcdpad-core's Introduction

etcdpad-core

etcdpad-core is etcdpad-web server which etcdv3 web ui.

  • Support etcd 3.x only.
  • The server use websocket protocol, support etcdv3 query, create, delete, watch operators.
  • Support multiple etcdv3 instances to connect at the same time.
  • Support multiple etcdv3 key prefixes connection multiplex the same etcdv3 instance.
  • Support one connection operate some values change can push to others actively.
  • create and delete operators will record log.

Go Version

go1.14

Usage

Usage of ./etcdpad-core:
  -logpath string
        websocket client operate log file directory (default "/Users/xkey/workspace/go/src/etcdpad-core/oplog.log")
  -port int
        websocket listen port (default 8989)
  -stdout
        epad log output to stdout (default true)

Connect DSN

etcd://[username:password@]host1:port1[,...hostN:portN][/[defaultPrefix][?options]]
Component Description
etcd:// A required prefix to identify that this is a string in the standard connection format.
username:password@ Optional. Authentication credentials. Username is a user name for authentication. Password is a password for authentication.
host[:port] The hosts of etcd servers
/defaultPrefix Optional. etcd prefix key, default '/'
?options etcd clientv3 connect other configures

Connection Options

Component Description
auto-sync-interval AutoSyncInterval is the interval to update endpoints with its latest members. 0 disables auto-sync. By default auto-sync is disabled.
dial-timeout DialTimeout is the timeout for failing to establish a connection.
dial-keep-alive-time DialKeepAliveTime is the time after which client pings the server to see if transport is alive.
dial-keep-alive-timeout DialKeepAliveTimeout is the time that the client waits for a response for the keep-alive probe. If the response is not received in this time, the connection is closed.
max-send-msg-size MaxCallSendMsgSize is the client-side request send limit in bytes. If 0, it defaults to 2.0 MiB (2 * 1024 * 1024).
max-recv-msg-size MaxCallRecvMsgSize is the client-side response receive limit.If 0, it defaults to "math.MaxInt32", because range response can easily exceed request send limits.

License

GPLv3

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.