pebble

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package pebble implements a storage.DB using Pebble, a production-quality key-value database from CockroachDB.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(lg *slog.Logger, dir string) (storage.DB, error)

Create creates a new Pebble database in the named directory. The database (and directory) must not already exist.

func Open

func Open(lg *slog.Logger, dir string) (storage.DB, error)

Open opens an existing Pebble database in the named directory. The database must already exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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