leveldb_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 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)

Jump to

Keyboard shortcuts

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