Documentation
¶
Index ¶
- type Daemon
- type Engine
- func (e *Engine) AllSyncStatuses() ([]*storage.SyncState, error)
- func (e *Engine) Connectors() map[string]connectors.Connector
- func (e *Engine) ListConflicts() ([]*storage.SyncState, error)
- func (e *Engine) ProcessQueue() (int, error)
- func (e *Engine) PullAll() error
- func (e *Engine) PullNote(noteID string) error
- func (e *Engine) PushAll() error
- func (e *Engine) PushNote(noteID string) error
- func (e *Engine) QueueLength() (int, error)
- func (e *Engine) RegisterConnector(name string, c connectors.Connector)
- func (e *Engine) ResolveConflict(noteID, backend, strategy string) error
- func (e *Engine) SetHooks(preSync, postSync, onConflict string)
- func (e *Engine) SetRetryLimit(limit int)
- func (e *Engine) SyncAll() error
- func (e *Engine) SyncStatus(noteID string) ([]*storage.SyncState, error)
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
func (*Daemon) SetObsidianDir ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) Connectors ¶
func (e *Engine) Connectors() map[string]connectors.Connector
func (*Engine) ProcessQueue ¶
func (*Engine) QueueLength ¶
func (*Engine) RegisterConnector ¶
func (e *Engine) RegisterConnector(name string, c connectors.Connector)
func (*Engine) ResolveConflict ¶
func (*Engine) SetRetryLimit ¶
Click to show internal directories.
Click to hide internal directories.