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

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

  •  1
     
  •   zhengji ·
    zheng-ji · Aug 24, 2019 · 3274 views
    This topic created in 2538 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   ·   5669 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:32 · PVG 14:32 · LAX 23:32 · JFK 02:32
    ♥ Do have faith in what you're doing.