Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RpcArgsAppendEntries ¶
type RpcArgsRequestVote ¶
type RpcSendReply ¶
type RpcServer ¶
type RpcServer int
func (*RpcServer) AppendEntries ¶
func (t *RpcServer) AppendEntries(args RpcArgsAppendEntries, reply *RpcServerReply) error
func (*RpcServer) RequestVote ¶
func (t *RpcServer) RequestVote(args RpcArgsRequestVote, reply *RpcServerReply) error
type RpcServerReply ¶
Click to show internal directories.
Click to hide internal directories.