data

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 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 interface{})

Save a piece of data in the cache.

func SaveWithID

func SaveWithID(key string, id int, data interface{})

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