nutsdb

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package nutsdb implements the storage backends using NutsDB.

Package nutsdb implements the storage backends using NutsDB.

Package nutsdb implements the storage backends using NutsDB.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts Options) (storage.DualStorage, error)

New creates a new NutsDB storage.

Types

type Options

type Options struct {
	// InMemory specifies whether to use an in-memory storage.
	InMemory bool
	// DiskPath is the path to use for disk storage.
	DiskPath string
}

Options are the options for creating a new NutsDB storage.

Jump to

Keyboard shortcuts

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