node_cache

package
v1.26.7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

func New

func New(
	ctx context.Context,
	lc fx.Lifecycle,
	store cache.Store,
	bus *pubsub.Bus,
) *Cache

func (*Cache) Check

func (c *Cache) Check(ctx context.Context, cq cachecontrol.Query, key string) (*cachecontrol.ETag, bool)

func (*Cache) Invalidate

func (c *Cache) Invalidate(ctx context.Context, key string) error

func (*Cache) Store

func (c *Cache) Store(ctx context.Context, key string, ts time.Time) error

Jump to

Keyboard shortcuts

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