Fix JoinCommand comment.

release-0.4
Ben Johnson 2014-03-04 08:56:10 -07:00
parent 063f3b574c
commit c3b4afc139
1 changed files with 3 additions and 5 deletions

View File

@ -14,12 +14,10 @@ func init() {
// The JoinCommand adds a node to the cluster.
//
// The command returns two values back to binary format.
// The first value is a Uvarint representing the the join_index.
// The second value is a single byte flag representing whether the joining
// node is a peer (0) or a proxy (1).
// The command returns the join_index (Uvarint) and peer flag (peer=0, proxy=1)
// in following binary format:
//
// 8 bytes | 1 byte
// 8 bytes | 1 byte
// join_index | join_mode
//
type JoinCommand struct {