boltdbpvd

package
v0.4.12 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBucketNotFound = errors.New("bucket not found")
)

Functions

This section is empty.

Types

type BoltPvd

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

func New

func New(dbPath string, maxStrLen int) *BoltPvd

func (*BoltPvd) AddNamespace

func (bp *BoltPvd) AddNamespace(nsName string) error

func (*BoltPvd) Close

func (bp *BoltPvd) Close() error

func (*BoltPvd) DelBool

func (bp *BoltPvd) DelBool(key string) error

func (*BoltPvd) DelBoolIn

func (bp *BoltPvd) DelBoolIn(ns, key string) error

func (*BoltPvd) DelFloat

func (bp *BoltPvd) DelFloat(key string) error

func (*BoltPvd) DelInt

func (bp *BoltPvd) DelInt(key string) error

func (*BoltPvd) DelInt64

func (bp *BoltPvd) DelInt64(key string) error

func (*BoltPvd) DelInt64In

func (bp *BoltPvd) DelInt64In(ns, key string) error

func (*BoltPvd) DelNamespace

func (bp *BoltPvd) DelNamespace(nsName string) error

func (*BoltPvd) DelString

func (bp *BoltPvd) DelString(key string) error

func (*BoltPvd) DelStringIn

func (bp *BoltPvd) DelStringIn(ns, key string) error

func (*BoltPvd) GetBool

func (bp *BoltPvd) GetBool(key string) (bool, bool)

func (*BoltPvd) GetBoolIn

func (bp *BoltPvd) GetBoolIn(ns, key string) (bool, bool)

func (*BoltPvd) GetFloat

func (bp *BoltPvd) GetFloat(key string) (float64, bool)

func (*BoltPvd) GetInt

func (bp *BoltPvd) GetInt(key string) (int, bool)

func (*BoltPvd) GetInt64

func (bp *BoltPvd) GetInt64(key string) (int64, bool)

func (*BoltPvd) GetInt64In

func (bp *BoltPvd) GetInt64In(ns, key string) (int64, bool)

func (*BoltPvd) GetString

func (bp *BoltPvd) GetString(key string) (string, bool)

func (*BoltPvd) GetStringIn

func (bp *BoltPvd) GetStringIn(ns, key string) (string, bool)

func (*BoltPvd) HasNamespace

func (bp *BoltPvd) HasNamespace(nsName string) bool

func (*BoltPvd) ListBools

func (bp *BoltPvd) ListBools() (map[string]bool, error)

func (*BoltPvd) ListBoolsByPrefixIn

func (bp *BoltPvd) ListBoolsByPrefixIn(prefix, ns string) (map[string]bool, error)

func (*BoltPvd) ListBoolsIn

func (bp *BoltPvd) ListBoolsIn(ns string) (map[string]bool, error)

func (*BoltPvd) ListInt64sIn

func (bp *BoltPvd) ListInt64sIn(ns string) (map[string]int64, error)

func (*BoltPvd) ListStringsByPrefixIn

func (bp *BoltPvd) ListStringsByPrefixIn(prefix, ns string) (map[string]string, error)

func (*BoltPvd) ListStringsIn

func (bp *BoltPvd) ListStringsIn(ns string) (map[string]string, error)

func (*BoltPvd) SetBool

func (bp *BoltPvd) SetBool(key string, val bool) error

func (*BoltPvd) SetBoolIn

func (bp *BoltPvd) SetBoolIn(ns, key string, val bool) error

func (*BoltPvd) SetFloat

func (bp *BoltPvd) SetFloat(key string, val float64) error

func (*BoltPvd) SetInt

func (bp *BoltPvd) SetInt(key string, val int) error

func (*BoltPvd) SetInt64

func (bp *BoltPvd) SetInt64(key string, val int64) error

func (*BoltPvd) SetInt64In

func (bp *BoltPvd) SetInt64In(ns, key string, val int64) error

func (*BoltPvd) SetString

func (bp *BoltPvd) SetString(key string, val string) error

func (*BoltPvd) SetStringIn

func (bp *BoltPvd) SetStringIn(ns, key, val string) error

func (*BoltPvd) TryLock

func (bp *BoltPvd) TryLock(key string) error

func (*BoltPvd) Unlock

func (bp *BoltPvd) Unlock(key string) error

Jump to

Keyboard shortcuts

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