爱意满满的作品展示区。
zhengji

基于 etcd 实现服务注册与发现的 Go 库

  •  1
     
  •   zhengji ·
    zheng-ji · Aug 24, 2019 · 3205 views
    This topic created in 2512 days ago, the information mentioned may be changed or developed.

    Introduction

    Build Status

    Implement service discovery based on etcd By Go

    Quick Start Etcd

    $ wget https://github.com/coreos/etcd/releases/download/v3.1.5/etcd-v3.1.5-linux-amd64.tar.gz
    $ tar xzvf etcd-v3.1.5-linux-amd64.tar.gz
    $ mv etcd-v3.1.5-linux-amd64 /opt/etcd
    
    $ go get github.com/mattn/goreman
    $ goreman -f ProcFile (本仓库提供) start
    

    Quick-start

    go get github.com/zheng-ji/discover-etcd
    

    Example

    1 replies    2019-08-24 14:32:06 +08:00
    zhengji
        1
    zhengji  
    OP
       Aug 24, 2019
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1036 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 23:05 · PVG 07:05 · LAX 16:05 · JFK 19:05
    ♥ Do have faith in what you're doing.