github.com/qxnw/lib4go@v0.0.0-20180426074627-c80c7e84b925/registry/registry.go (about)

     1  package registry
     2  
     3  type ValueWatcher interface {
     4  	GetValue() ([]byte, int32)
     5  	GetError() error
     6  	GetPath() string
     7  }
     8  type ChildrenWatcher interface {
     9  	GetValue() ([]string, int32)
    10  	GetPath() string
    11  	GetError() error
    12  }