Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface { HasEntry(v1.ID) bool Get(v1.ID, bool) (*v1.Entry, error) CreateOrUpdateEntry(*v1.Entry) (*v1.Entry, error) ListAll() ([]*v1.Entry, error) Next(v1.ID) (*v1.Entry, error) Previous(v1.ID) (*v1.Entry, error) StoragePath(v1.ID) string Count() int Reconcile(v1.ID) (*v1.Entry, error) Status() v1.SyncStatus Validate() error }
DB is the interface any plugin satisfies to provide a backend for storing and fetching notes
Click to show internal directories.
Click to hide internal directories.