Documentation
¶
Index ¶
- type Sync
- func (sync *Sync) Close()
- func (sync *Sync) Delete(path string, prefix bool) error
- func (sync *Sync) Fetch(path string) (*sync.Node, error)
- func (sync *Sync) GetProcessID() string
- func (sync *Sync) HasLock(path string) bool
- func (sync *Sync) Lock(path string, block bool) (chan struct{}, error)
- func (sync *Sync) Unlock(path string) error
- func (sync *Sync) Update(path, json string) error
- func (sync *Sync) Watch(path string, responseChan chan *sync.Event, stopChan chan bool, revision int64) error
- func (sync *Sync) WatchContext(ctx context.Context, path string, revision int64) <-chan *sync.Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sync ¶
type Sync struct {
}
Sync is struct for noop
func (*Sync) Delete ¶
Delete sync update sync
func (*Sync) HasLock ¶
HasLock checks is current process has lock
func (*Sync) Lock ¶
Lock get lock for path
Source Files
¶
- noop.go
Click to show internal directories.
Click to hide internal directories.