nil_cache

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NilCache

type NilCache struct{}

NilCache is a no-op cache which does nothing useful.

func (*NilCache) Get

func (c *NilCache) Get(ctx context.Context, ids []string) map[string]json.RawMessage

func (*NilCache) Invalidate

func (c *NilCache) Invalidate(ctx context.Context, ids []string)

func (*NilCache) Save

func (c *NilCache) Save(ctx context.Context, data map[string]json.RawMessage)

Jump to

Keyboard shortcuts

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