Documentation
¶
Index ¶
Constants ¶
This section is empty.
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) (interface{}, error)
Update(path, json string) error
Delete(path string) error
Watch(path string, responseChan chan *Event, stopChan chan bool) error
}
Sync is a interface for sync servers
Click to show internal directories.
Click to hide internal directories.