8 lines
161 B
Go
8 lines
161 B
Go
package raft
|
|
|
|
type Config struct {
|
|
CommitIndex uint64 `json:"commitIndex"`
|
|
// TODO decide what we need to store in peer struct
|
|
Peers []*Peer `json:"peers"`
|
|
}
|