package
1.6.0-beta.5
Repository: https://github.com/polarismesh/polaris-go.git
Documentation: pkg.go.dev
# Functions
NewCacheObject 创建缓存对象.
NewCacheObjectWithInitValue 创建带初始值的缓存对象.
# Constants
CacheAdded 缓存数据从无到有.
CacheChanged 缓存已存在,发生了数据改变.
CacheDeleted 服务数据已经被删除.
CacheEmptyButNotChanged 缓存不存在,但是server返回DataNotChanged.
CacheNotChanged 缓存未改变.
# Variables
CachedStatusToPresent 将缓存状态转换为present状态.
# Structs
CacheHandlers 不同的事件回调函数.
CacheObject 缓存值的管理基类.
LocalCache 基于内存的本地缓存策略.
# Type aliases
CachedStatus 缓存状态.