Documentation
¶
Index ¶
- type Connection
- func (_m *Connection) Children(p string) (children []string, err error)
- func (_m *Connection) ChildrenW(path string, done <-chan struct{}) (children []string, event <-chan client.Event, err error)
- func (_m *Connection) Close()
- func (_m *Connection) Create(path string, node client.Node) error
- func (_m *Connection) CreateDir(path string) error
- func (_m *Connection) CreateEphemeral(path string, node client.Node) (string, error)
- func (_m *Connection) Delete(path string) error
- func (_m *Connection) EnsurePath(path string) error
- func (_m *Connection) Exists(path string) (bool, error)
- func (_m *Connection) Get(path string, node client.Node) error
- func (_m *Connection) GetW(path string, node client.Node, done <-chan struct{}) (<-chan client.Event, error)
- func (_m *Connection) ID() int
- func (_m *Connection) NewLeader(path string, data client.Node) client.Leader
- func (_m *Connection) NewLock(path string) client.Lock
- func (_m *Connection) NewTransaction() client.Transaction
- func (_m *Connection) Set(path string, node client.Node) error
- func (_m *Connection) SetID(_a0 int)
- func (_m *Connection) SetOnClose(_a0 func(int))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
func (*Connection) Children ¶
func (_m *Connection) Children(p string) (children []string, err error)
func (*Connection) Close ¶
func (_m *Connection) Close()
func (*Connection) CreateDir ¶
func (_m *Connection) CreateDir(path string) error
func (*Connection) CreateEphemeral ¶
func (*Connection) Delete ¶
func (_m *Connection) Delete(path string) error
func (*Connection) EnsurePath ¶
func (_m *Connection) EnsurePath(path string) error
func (*Connection) ID ¶
func (_m *Connection) ID() int
func (*Connection) NewTransaction ¶
func (_m *Connection) NewTransaction() client.Transaction
func (*Connection) SetID ¶
func (_m *Connection) SetID(_a0 int)
func (*Connection) SetOnClose ¶
func (_m *Connection) SetOnClose(_a0 func(int))
Click to show internal directories.
Click to hide internal directories.