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
Click to show internal directories.
Click to hide internal directories.