cache

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	Cache contracts.Cache
}

func NewStore

func NewStore(cache contracts.Cache) *Store

func (*Store) Delete

func (store *Store) Delete(id string) error

func (*Store) Get

func (store *Store) Get(key string, receiver any) error

func (*Store) Save

func (store *Store) Save(id string, val any) error

Jump to

Keyboard shortcuts

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