/etcdnaming

etcdnaming: get server grpc connetion from etcd

Primary LanguageGoGNU General Public License v3.0GPL-3.0

etcdnaming

a tool which using ectd for some clients to find server when its started

etcd & grpc

installation

  • fisrt

github.com/coreos/go-systemd v22.0.0

  • than: added this into go.mod
replace github.com/coreos/go-systemd => github.com/coreos/go-systemd/v22 v22.0.0
  • last:
go get github.com/iTrellis/etcdnaming

Server

server example

Client

client example