pebblestorage

package
v1.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WriteOptions = pebble.NoSync

	ErrInvalidFormat = errors.New("invalid format")
)

Functions

func FromDB

func FromDB(db *pebble.DB) storage.ManagedStorage

func New

func OpenDatabase

func OpenDatabase(conf *PebbleConfig) (*pebble.DB, error)

Types

type PebbleConfig

type PebbleConfig struct {
	DataDir string
	Options pebble.Options
}

Jump to

Keyboard shortcuts

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