cache

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureDefault

func ConfigureDefault(config Config) (driver.Cache, error)

func ConfigureRedis

func ConfigureRedis(config Config) (driver.Cache, error)

func New

func New(config Config) (driver.Cache, error)

Types

type Config

type Config struct {
	Driver Driver
	URL    string
}

type Driver

type Driver string
const (
	DriverRedis Driver = "redis"
)

Jump to

Keyboard shortcuts

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