online

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetOpt

type GetOpt struct {
	Entity      *types.Entity
	RevisionID  int
	EntityKey   string
	FeatureList types.FeatureList
}

type ImportOpt

type ImportOpt struct {
	Revision    *types.Revision
	Entity      *types.Entity
	Stream      <-chan *types.RawFeatureValueRecord
	FeatureList types.FeatureList
}

type MultiGetOpt

type MultiGetOpt struct {
	Entity      *types.Entity
	RevisionID  int
	EntityKeys  []string
	FeatureList types.FeatureList
}

type Store

type Store interface {
	Get(ctx context.Context, opt GetOpt) (dbutil.RowMap, error)
	MultiGet(ctx context.Context, opt MultiGetOpt) (map[string]dbutil.RowMap, error)
	Import(ctx context.Context, opt ImportOpt) error
	Purge(ctx context.Context, revisionID int) error
	io.Closer
}

Directories

Path Synopsis
Package mock_online is a generated GoMock package.
Package mock_online is a generated GoMock package.

Jump to

Keyboard shortcuts

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