store

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: GPL-3.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRecordNotFound = errors.New("record not found")
)

Functions

This section is empty.

Types

type Store

type Store interface {
	CreateEntry(journalUID string, entry *api.Entry) error
	GetEntries(journalUID string) (api.Entries, error)
	GetEntry(journalUID string, entryUID string) (*api.Entry, error)
	LastEntry(journalUID string) (*api.Entry, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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