From 45da46ddc4ec6a258c0df27f77786bcf70e14c6e Mon Sep 17 00:00:00 2001 From: Guillaume Breton Date: Thu, 25 Aug 2016 16:57:13 +0200 Subject: [PATCH] Add RO mode compatibilty The read only mode field should be send directly in the connect request and response. fixes #86 --- zk/structs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zk/structs.go b/zk/structs.go index 02cd3f35..b0d6cc28 100644 --- a/zk/structs.go +++ b/zk/structs.go @@ -148,6 +148,7 @@ type connectRequest struct { TimeOut int32 SessionID int64 Passwd []byte + RO bool } type connectResponse struct { @@ -155,6 +156,7 @@ type connectResponse struct { TimeOut int32 SessionID int64 Passwd []byte + RO bool } type CreateRequest struct {