pogreb

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0, MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultSyncInterval = time.Second

Variables

This section is empty.

Functions

func New

func New(dir string) (indexer.Interface, error)

New creates a new indexer.Interface implemented by a pogreb-based value store.

The given indexer.ValueCodec is used to serialize and deserialize values. If it is set to nil, indexer.BinaryWithJsonFallbackCodec is used which will gracefully migrate the codec from JSON to Binary format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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