routerStorages

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltDBStorage

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

func NewBoltDBStorage

func NewBoltDBStorage(path string) (*BoltDBStorage, error)

func (*BoltDBStorage) Delete

func (storage *BoltDBStorage) Delete(bucketName string, key string)

func (*BoltDBStorage) Destroy

func (storage *BoltDBStorage) Destroy() error

func (*BoltDBStorage) Get

func (storage *BoltDBStorage) Get(bucketName string, key string, data any) error

func (*BoltDBStorage) Set

func (storage *BoltDBStorage) Set(bucketName string, key string, data any) error

Jump to

Keyboard shortcuts

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