indexstorage

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 5 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 keys
	WriteIndex(context.Context, []string, string) error        // Writes index for specified keys
	Shutdown() error                                           // Method to run on shutdown
}

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