boltdb

package
v0.0.0-...-8df1a9e Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltBucket

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

func (*BoltBucket) Delete

func (self *BoltBucket) Delete(key string) error

func (*BoltBucket) Get

func (self *BoltBucket) Get(key string) ([]byte, error)

func (*BoltBucket) Set

func (self *BoltBucket) Set(key string, value []byte) error

type BoltDb

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

func New

func New(connectionString string) (*BoltDb, error)

func (*BoltDb) Create

func (self *BoltDb) Create(bucketName string) (models.Bucket, error)

func (*BoltDb) Delete

func (self *BoltDb) Delete(bucketName string) error

func (*BoltDb) Get

func (self *BoltDb) Get(bucketName string) (models.Bucket, error)

func (*BoltDb) Has

func (self *BoltDb) Has(bucketName string) bool

Jump to

Keyboard shortcuts

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