ristretto

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCache

func NewCache(lc fx.Lifecycle, cfg *Config) (*ristretto.Cache, error)

NewCache for ristretto.

Types

type Config added in v1.19.0

type Config struct {
	Name string `envconfig:"SERVICE_NAME" required:"true"`

	Config *ristretto.Config
}

Config for ristretto.

func NewConfig

func NewConfig() (*Config, error)

NewConfig for ristretto.

Directories

Path Synopsis
metrics

Jump to

Keyboard shortcuts

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