From 145882244fd8cd5c369ceb92e40402b36a155a65 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Mon, 8 Sep 2014 15:59:15 -0700 Subject: [PATCH] raft: add doc for the Ready struct --- raft/node.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/raft/node.go b/raft/node.go index 870e8746f..48f089105 100644 --- a/raft/node.go +++ b/raft/node.go @@ -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