nutsdb

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 20 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