boltdb_storage

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2017 License: MIT Imports: 2 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL