Skip to content

Commit

Permalink
Add RO mode compatibilty
Browse files Browse the repository at this point in the history
The read only mode field should be send directly in the connect request
and response. fixes samuel#86
  • Loading branch information
guillaumebreton committed Aug 25, 2016
1 parent e64db45 commit 45da46d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zk/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,15 @@ type connectRequest struct {
TimeOut int32
SessionID int64
Passwd []byte
RO bool
}

type connectResponse struct {
ProtocolVersion int32
TimeOut int32
SessionID int64
Passwd []byte
RO bool
}

type CreateRequest struct {
Expand Down

0 comments on commit 45da46d

Please sign in to comment.