db

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigBucket    = []byte("config")
	CacheBucket     = []byte("cache")
	CacheTagsBucket = []byte("cache_tags")
)

Functions

func AddTagsToKey

func AddTagsToKey(key string, tags []string) error

func Get

func Get(bucket, key []byte) ([]byte, error)

func InvalidateTags

func InvalidateTags(tags []string) error

func Open

func Open() (*bbolt.DB, error)

func Set

func Set(bucket, key, value []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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