storage

package
v0.0.0-...-a6e5ec5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: CC-BY-SA-4.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data [][]int

type ID

type ID int

type InMemory

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

func NewInMemory

func NewInMemory(logger *slog.Logger) *InMemory

func (*InMemory) Invalidate

func (m *InMemory) Invalidate(id ID)

func (*InMemory) Store

func (m *InMemory) Store(id ID, data Data)

Jump to

Keyboard shortcuts

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