Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend interface { Init() error // Backend initialization (Create directory etc.) Read() error // Read configuration Save() error // Save configuration Link(string) error // Add item to storage Unlink(string) error // Remove item from storage, put back to original place Restore(string) error // Create link from storage to location. (Or copy, depends on backend). Remove() // Remove item from machine but not storage Get(plugin string, content interface{}) error // Get plugin configuration Add(string, interface{}) error // Add new plugin configuration }
Click to show internal directories.
Click to hide internal directories.