data

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(key string) *cache.Item

Get an itemfrom the cache. May be nil if non-existent.

func GetWithID

func GetWithID(key string, id int) *cache.Item

GetWithID returns data from the cache using a kay appended to an id.

func Save

func Save(key string, data any)

Save a piece of data in the cache.

func SaveWithID

func SaveWithID(key string, id int, data any)

SaveWithID saves data to the cache, and appends the key to an id.

Types

This section is empty.

Jump to

Keyboard shortcuts

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