ristretto

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 1 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]) Init

func (c *Cache[K, V]) Init() error

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], error)

func (*Config[K, V]) Init

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