package
1.2.118
Repository: https://github.com/go-yaaf/yaaf-common.git
Documentation: pkg.go.dev

# Functions

NewTtlCache is a helper to create instance of the Cache struct.

# Constants

ItemExpireWithGlobalTTL will use the global TTL when set.
ItemNotExpire Will avoid the cachedItem being expired by TTL, but can still be exired by callback etc.

# Structs

Cache is a synchronized map of items that can auto-expire once stale.