store

package
v0.0.0-...-92a250d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RecordExistsError = errors.New("record already exists")
View Source
var RecordNotFoundError = errors.New("record not found")

Functions

This section is empty.

Types

type Store

type Store interface {
	Create(container models.Container) error
	Get(id string) (models.Container, error)
	All() ([]models.Container, error)
	Delete(id string) error
}

func New

func New(dbConnectionPool db) (Store, error)

Jump to

Keyboard shortcuts

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