cachedb

package
v0.0.0-...-b4c4296 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Disabled bool = true
)

Functions

func Clear

func Clear(ctx context.Context, namespace string) ([]string, error)

func CreateTable

func CreateTable(namespace string)

func GetPath

func GetPath() string

func List

func List(ctx context.Context, namespace string) ([]listT, error)

func ListNamespaces

func ListNamespaces() []string

func Read

func Read(namespace string, key string, ptr any) bool

func SetPath

func SetPath(newPath string)

func Trim

func Trim(ctx context.Context, namespace string) ([]string, error)

func Write

func Write(namespace string, key string, value any, ttl time.Time)

Types

This section is empty.

Jump to

Keyboard shortcuts

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