groupcache

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name       string
	CacheBytes int64
	groupcache.GetterFunc
}

func (*Config) Build

func (c *Config) Build() *groupcache.Group

func (*Config) Init added in v1.4.0

func (c *Config) Init()

func (*Config) InitBeforeInject

func (c *Config) InitBeforeInject()

type Group

type Group struct {
	*groupcache.Group
	Conf Config
}

func (*Group) Close

func (m *Group) Close() error

func (*Group) Config

func (m *Group) Config() any

func (*Group) SetEntity

func (m *Group) SetEntity()

Jump to

Keyboard shortcuts

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