package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

GetCache returns the currently configured cache.
GetInt64 returns key value from cache with callback when no key exists in cache.
GetString returns the key value from cache with callback when no key exists in cache.
GetWithContextCache returns the cache value of the given key in the given context.
Init start cache service.
Remove key from cache.

# Constants

# Structs

MemoryItem represents a memory cache item.
RedisCacher represents a redis cache adapter implementation.
TwoQueueCache represents a LRU 2Q cache adapter implementation.
TwoQueueCacheConfig describes the configuration for TwoQueueCache.

# Interfaces