embedded

package
v1.0.402 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadEmbedded

func LoadEmbedded(lo logger.Logger, config database.EmbeddedOptions) database.Embedded

Types

type Embedded

type Embedded struct {
	// contains filtered or unexported fields
}

func (*Embedded) DB

func (c *Embedded) DB() *nutsdb.DB

func (*Embedded) Delete

func (c *Embedded) Delete(bucket string, key string) (err error)

func (*Embedded) Get

func (c *Embedded) Get(bucket string, key string, value interface{}, encoding database.Encoding) (err error)

func (*Embedded) GetAllKeys

func (c *Embedded) GetAllKeys(bucket string) (keys []string, err error)

func (*Embedded) Set

func (c *Embedded) Set(bucket string, key string, value interface{}, encoding database.Encoding) (err error)

Jump to

Keyboard shortcuts

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