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