badger_db

package
v0.0.0-...-c7f185a Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

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

func NewCacheDB

func NewCacheDB() *Cache

func (*Cache) Clean

func (c *Cache) Clean() error

func (*Cache) Del

func (c *Cache) Del(key string)

func (*Cache) Get

func (c *Cache) Get(key string) string

func (*Cache) PrefixScanKey

func (c *Cache) PrefixScanKey(prefixStr string) []string

func (*Cache) Set

func (c *Cache) Set(key string, value interface{})

func (*Cache) SetWithTTL

func (c *Cache) SetWithTTL(key string, value interface{}, d time.Duration)

Jump to

Keyboard shortcuts

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