ncache

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MPL-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoopCache

type NoopCache struct{}

func NewNoopCache

func NewNoopCache() *NoopCache

func (*NoopCache) Delete

func (n *NoopCache) Delete(ctx context.Context, key string) error

func (*NoopCache) Get

func (n *NoopCache) Get(ctx context.Context, key string, data interface{}) error

func (*NoopCache) Set

func (n *NoopCache) Set(ctx context.Context, key string, data interface{}, ttl time.Duration) error

Jump to

Keyboard shortcuts

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