Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeveldbStorage ¶
type LeveldbStorage struct {
// contains filtered or unexported fields
}
func New ¶
func New(path string) (*LeveldbStorage, error)
func (*LeveldbStorage) Delete ¶
func (storage *LeveldbStorage) Delete(id photo.Identifier) error
func (*LeveldbStorage) Read ¶
func (storage *LeveldbStorage) Read(id photo.Identifier) (*photo.Photo, error)
func (*LeveldbStorage) Save ¶
func (storage *LeveldbStorage) Save(photograph photo.Photo) (*photo.Identifier, error)
Click to show internal directories.
Click to hide internal directories.