caches

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NewBadger = persistence.NewBadger
)

Functions

func NewBolt

func NewBolt(path string, options *BoltOptions) (adapters.Cache, error)

NewBolt creates a Bolt-based Cache

func NewRedis

func NewRedis(options *RedisOptions) (adapters.Cache, error)

NewRedis creates a Redis-backed Cache

Types

type BadgerLogr added in v0.2.0

type BadgerLogr = persistence.BadgerLogr

type BadgerOptions added in v0.2.0

type BadgerOptions = persistence.BadgerOptions

type BoltOptions

type BoltOptions = bbolt.Options

type RedisOptions

type RedisOptions = redis.Options

Jump to

Keyboard shortcuts

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