cache

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Provide(NewCache)

Module for fx.

Functions

func NewCache

func NewCache(lc fx.Lifecycle, cfg *config.Config) *cache.Cache

NewCache from config. The cache is based on https://github.com/go-redis/cache

Types

type Item

type Item = cache.Item

Item that is used for caching.

Jump to

Keyboard shortcuts

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