indexstorage

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 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 IndexStorage

type IndexStorage interface {
	LookupIndices(context.Context, string) ([]string, error) // Returns indices for specified key
	WriteIndex(context.Context, string, string) error        // Writes index for specified key
}

func NewIndexStorage

func NewIndexStorage(providerType string) (IndexStorage, error)

NewIndexStorage instantiates a new IndexStorage provider based on the requested type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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