Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm 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 ¶ func New(opts Options) (storage.DualStorage, error) type Options 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. Source Files ¶ View all Source files disk.go memory.go nutsdb.go subscriptions.go Click to show internal directories. Click to hide internal directories.