boltdb

package
v0.0.0-...-b04963e Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Boltdb

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

func New

func New(dbUri string) (*Boltdb, error)

func (*Boltdb) Bucket

func (b *Boltdb) Bucket(tx *bolt.Tx) *bolt.Bucket

func (*Boltdb) Close

func (b *Boltdb) Close() error

func (*Boltdb) CreatBucket

func (b *Boltdb) CreatBucket(domain string) error

func (*Boltdb) Db

func (b *Boltdb) Db() *bolt.DB

func (*Boltdb) Diff

func (b *Boltdb) Diff(key string, sum uint32) (bool, error)

func (*Boltdb) GetUint32

func (b *Boltdb) GetUint32(key string) (uint32, error)

func (*Boltdb) SaveUint32

func (b *Boltdb) SaveUint32(key string, value uint32) error

Jump to

Keyboard shortcuts

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