File: config.go

package info (click to toggle)
golang-raft 0.0~git20140427-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 468 kB
  • ctags: 684
  • sloc: makefile: 16
file content (7 lines) | stat: -rw-r--r-- 161 bytes parent folder | download
1
2
3
4
5
6
7
package raft

type Config struct {
	CommitIndex uint64 `json:"commitIndex"`
	// TODO decide what we need to store in peer struct
	Peers []*Peer `json:"peers"`
}