file

package
v0.0.0-...-efc0651 Latest Latest
Warning

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

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

Documentation

Overview

Package local is a file system backed store

Package local is a file system backed store

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultDatabase is the namespace that the bbolt store
	// will use if no namespace is provided.
	DefaultDatabase = "data"
	// DefaultTable when none is specified
	DefaultTable = "table"
	// DefaultDir is the default directory for bbolt files
	//DefaultDir = filepath.Join(os.TempDir(), "data", "store")
	DefaultDir = "./data/store"
)

Functions

func NewStore

func NewStore(opts ...store.Option) store.Store

NewStore returns a memory store

Types

This section is empty.

Jump to

Keyboard shortcuts

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