Documentation
¶
Index ¶
Constants ¶
View Source
const ( PeerSetConfigurationPath = "/raft/setconfiguration" PeerAppendEntriesPath = "/raft/appendentries" PeerIDPath = "/raft/id" PeerCommandPath = "/raft/command" PeerRequestVotePath = "/raft/requestvote" )
Variables ¶
View Source
var (
MinimumElectionTimeoutMS int32 = 250
)
Functions ¶
func SetupServeMux ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) SetConfiguration ¶
Click to show internal directories.
Click to hide internal directories.