Versions in this module Expand all Collapse all v1 v1.0.0 Jul 17, 2018 Changes in this version + const RevisionCurrent + type Event struct + Action string + Data map[string]interface{} + Err error + Key string + Revision int64 + type Node struct + Children []*Node + Key string + Revision int64 + Value string + type Sync interface + Close func() + Delete func(path string, prefix bool) error + Fetch func(path string) (*Node, error) + GetProcessID func() string + HasLock func(path string) bool + Lock func(path string, block bool) (notifyLost chan struct{}, err error) + Unlock func(path string) error + Update func(path, json string) error + Watch func(path string, responseChan chan *Event, stopChan chan bool, revision int64) error + WatchContext func(ctx context.Context, path string, revision int64) <-chan *Event