cacher

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoCache = errors.New("no cache")

Functions

func New

func New(opts ...Option) (agent.Cache, error)

Types

type Option

type Option func(c *cacheBuild)

func WithDefaultNutsDB

func WithDefaultNutsDB(cachePath string) Option

func WithNutsDb

func WithNutsDb(db *nutsdb.DB) Option

func WithRedis

func WithRedis(client *redis.Client) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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