Skip to content

Taoaozw/simple-raft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

简单的Raft的选举实现

打包

go build -o raft

执行

./raft --port=:9091 --cluster=127.0.0.1:9091,127.0.0.1:9092,127.0.0.1:9093 --id=0
./raft --port=:9092 --cluster=127.0.0.1:9091,127.0.0.1:9092,127.0.0.1:9093 --id=1
./raft --port=:9093 --cluster=127.0.0.1:9091,127.0.0.1:9092,127.0.0.1:9093 --id=2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages