ristretto

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache[K ristretto.Key, V any] struct {
	*ristretto.Cache[K, V]
	Conf Config[K, V]
}

func (*Cache[K, V]) Close

func (e *Cache[K, V]) Close() error

func (*Cache[K, V]) Config

func (c *Cache[K, V]) Config() any

func (*Cache[K, V]) SetEntity

func (c *Cache[K, V]) SetEntity()

type Config

type Config[K ristretto.Key, V any] ristretto.Config[K, V]

func (*Config[K, V]) Build

func (c *Config[K, V]) Build() *ristretto.Cache[K, V]

func (*Config[K, V]) Init added in v1.4.0

func (c *Config[K, V]) Init()

func (*Config[K, V]) InitBeforeInject

func (c *Config[K, V]) InitBeforeInject()

Jump to

Keyboard shortcuts

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