store

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2016 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session interface {
	store.Session

	GetDatasetsForUser(userID string) ([]*upload.Upload, error)
	GetDataset(datasetID string) (*upload.Upload, error)
	CreateDataset(dataset *upload.Upload) error
	UpdateDataset(dataset *upload.Upload) error
	DeleteDataset(datasetID string) error
	CreateDatasetData(dataset *upload.Upload, datasetData []data.Datum) error
	ActivateAllDatasetData(dataset *upload.Upload) error
	DeleteAllOtherDatasetData(dataset *upload.Upload) error
}

type Store

type Store interface {
	store.Store

	NewSession(logger log.Logger) (Session, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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