storage

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryHint added in v1.5.0

type QueryHint struct {
	Scope     string
	Timestamp int64
}

QueryHint .

type Selector added in v1.5.0

type Selector struct {
	TraceId string
	Hint    QueryHint
}

Selector .

type Storage added in v1.5.0

type Storage interface {
	NewWriter(ctx context.Context) (storekit.BatchWriter, error)
	Iterator(ctx context.Context, sel *Selector) (storekit.Iterator, error)
	Count(ctx context.Context, traceId string) int64
}

Storage .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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