cache

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Provide(New),
)

Module exported for initialising a new Cache.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	*ristretto.Cache
}

Cache is a simple wrapper around ristretto.Cache.

func New

func New(cfg *config.Config) (*Cache, error)

New creates a new Cache.

Jump to

Keyboard shortcuts

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