ristore

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotFound indicates there's not information for the retrieval.
	ErrNotFound = errors.New("retrieval info not found")
)

Functions

This section is empty.

Types

type Store

type Store struct {
	// contains filtered or unexported fields
}

Store stores retrieval information.

func New

func New(ds datastore.Datastore) *Store

New returns a new retrieval information store.

func (*Store) Get

func (s *Store) Get(rid ffs.RetrievalID) (ffs.RetrievalInfo, error)

Get gets information about an executed retrieval.

func (*Store) Put

func (s *Store) Put(ri ffs.RetrievalInfo) error

Put saves new information about a retrieval.

Jump to

Keyboard shortcuts

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