storage

package
v0.0.0-...-c082557 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage interface {
	// Get the list of known keys
	Keys() ([]string, error)

	// Load image data with the given key
	Load(key string) (*analysis.ImageData, error)

	// Store an image with the given key for retrieval later
	Store(key string, data *analysis.ImageData) error
}

Storage stores metadata for images

func NewBoltStorage

func NewBoltStorage(target string) (Storage, error)

NewBoltStorage get a bolt index for the given target

Jump to

Keyboard shortcuts

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