Documentation ¶
Index ¶
Constants ¶
View Source
const RevisionCurrent = -1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sync ¶
type Sync interface { HasLock(path string) bool Lock(path string, block bool) error Unlock(path string) error Fetch(path string) (*Node, error) Update(path, json string) error Delete(path string) error Watch(path string, responseChan chan *Event, stopChan chan bool, revision int64) error Close() }
Sync is a interface for sync servers
Click to show internal directories.
Click to hide internal directories.