cache

package
v0.0.0-...-7a6007a Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

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

func New

func New() *Storage

func (*Storage) Clear

func (s *Storage) Clear()

func (*Storage) Del

func (s *Storage) Del(k string)

func (*Storage) DeleteByPrefix

func (s *Storage) DeleteByPrefix(pre string)

func (*Storage) Get

func (s *Storage) Get(k string) any

func (*Storage) Keys

func (s *Storage) Keys() iter.Seq[string]

func (*Storage) Len

func (s *Storage) Len() int

func (*Storage) Set

func (s *Storage) Set(k string, v any)

Jump to

Keyboard shortcuts

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