nocache

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct{}

func New

func New() (DB, error)

func (DB) Close

func (db DB) Close()

func (DB) Get

func (db DB) Get(k string, o interface{}, hashed ...bool) error

func (DB) GetTTL added in v0.10.0

func (db DB) GetTTL(k string, hashed ...bool) (time.Duration, error)

func (DB) Set

func (db DB) Set(k string, v interface{}, ttl ...time.Duration) error

Jump to

Keyboard shortcuts

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