memory

package
v0.0.0-...-cdc24ad Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

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

func New

func New() *Memory

func (*Memory) CreateItem

func (m *Memory) CreateItem(ctx context.Context, domain string, name string, data []byte) (*cache.CacheItem, error)

func (*Memory) DeleteItem

func (m *Memory) DeleteItem(ctx context.Context, domain string, name string) error

func (*Memory) Item

func (m *Memory) Item(ctx context.Context, domain string, name string) (*cache.CacheItem, error)

Jump to

Keyboard shortcuts

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