mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #1022 from philips/add-ready-docs
raft: add doc for the Ready struct
This commit is contained in:
commit
e4d2b2a06a
@ -11,6 +11,8 @@ import (
|
||||
|
||||
var ErrStopped = errors.New("raft: stopped")
|
||||
|
||||
// Ready encapsulates the entries and messages that are ready to be saved to
|
||||
// stable storage, committed or sent to other peers.
|
||||
type Ready struct {
|
||||
// The current state of a Node
|
||||
pb.State
|
||||
|
Loading…
x
Reference in New Issue
Block a user