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

# Functions

GetCache returns the currently configured cache.
No description provided by the author
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.
No description provided by the author
Remove key from cache.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Structs

No description provided by the author
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

No description provided by the author