datastore

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataStorer

type DataStorer interface {
	AddJob(importJob *models.Job) (*models.Job, error)
	GetJob(jobID string) (*models.Job, error)
	GetJobs(filters []string) ([]models.Job, error)
	UpdateJob(jobID string, update *models.Job) error
	UpdateJobState(jobID string, state string) error
	AddUploadedFile(jobID string, message *models.UploadedFile) error
}

DataStorer is an interface used to store import jobs

Jump to

Keyboard shortcuts

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