datastore

package
v0.0.0-...-1b9946f Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDatasetNotFound = errors.New("dataset not found")
)

Functions

This section is empty.

Types

type DataStore

type DataStore interface {
	GetDataset(ctx context.Context, projectID string, datasetID string) (*api.Dataset, error)
	SaveDataset(ctx context.Context, projectID string, videos []*api.Video, complete bool, timestamp time.Time) (*api.Dataset, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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