Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileStorage ¶
type FileStorage struct {
// contains filtered or unexported fields
}
func (*FileStorage) List ¶
func (f *FileStorage) List() ([]StorageEntry, error)
func (*FileStorage) Load ¶
func (f *FileStorage) Load(title string) (StorageEntry, error)
func (*FileStorage) Store ¶
func (f *FileStorage) Store(e StorageEntry) error
type Storage ¶
type Storage interface { Store(e StorageEntry) error Load(title string) (StorageEntry, error) List() ([]StorageEntry, error) }
func NewFileStorage ¶
type StorageEntry ¶
Click to show internal directories.
Click to hide internal directories.