config.go 161 B

1234567
  1. package raft
  2. type Config struct {
  3. CommitIndex uint64 `json:"commitIndex"`
  4. // TODO decide what we need to store in peer struct
  5. Peers []*Peer `json:"peers"`
  6. }