daizuozhuo / Etcd Service Discovery
source code of daizuozhuo.github.io/etcd-service-discovery/
Stars: ✭ 153
Programming Languages
go
31211 projects - #10 most used programming language
etcd-service-discovery
daizuozhuo.github.io/etcd-service-discovery/
Build
- Install Golang: sudo yum install golang
- mkdir $HOME/Go
- add environment variable to ~/.bashrc
export GOPATH=$HOME/Go
export PATH=$HOME/Go/bin:$PATH
, reload itsource ~/.bashrc
- put the project inside $HOME/Go/src/github.com/daizuozhuo/
go get github.com/tools/godep
godep restore
- `cd etcd-service-discovery/exmaple"
go build
Run
- run etcd server on the localhost.
./example -role master
./example -role worker
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].