2013-08-13 21:31:19 +00:00
|
|
|
package raft
|
|
|
|
|
2013-08-15 19:25:00 +00:00
|
|
|
type Config struct {
|
|
|
|
CommitIndex uint64 `json:"commitIndex"`
|
2013-08-13 21:34:42 +00:00
|
|
|
// TODO decide what we need to store in peer struct
|
2013-08-15 23:35:01 +00:00
|
|
|
Peers []*Peer `json:"peers"`
|
2013-08-13 21:31:19 +00:00
|
|
|
}
|