cache

package
v0.0.0-...-8be5660 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var C = cache.New(cache.NoExpiration, cache.NoExpiration)

declare global variable for cache

Functions

func AddToCache

func AddToCache(key, value string)

* Method to add value to cache

func GetFromCache

func GetFromCache(key string) string

* Method to retrieve value from cache

Types

This section is empty.

Jump to

Keyboard shortcuts

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