package
1.18.1
Repository: https://github.com/polarismesh/polaris.git
Documentation: pkg.go.dev

# Packages

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
Package mock is a generated GoMock package.
No description provided by the author
No description provided by the author

# Functions

GetCacheManager.
Initialize 初始化.
RegisterCache 注册缓存资源.
No description provided by the author
SetCacheConfig 设置缓存配置.

# Constants

UpdateCacheInterval 缓存更新时间间隔.

# Variables

TestCacheInitialize 由于某一些模块依赖Cache,但是由于Cache模块初始化采用sync.Once,会导致单元测试之间Cache存在脏数据问题,因此为了确保单 元测试能够正常执行,这里将 cache.initialize 方法导出并命名为 TestCacheInitialize,仅用于单元测试初始化一个完整的 CacheManager.
TestCacheInitialize 由于某一些模块依赖Cache,但是由于Cache模块初始化采用sync.Once,会导致单元测试之间Cache存在脏数据问题,因此为了确保单 元测试能够正常执行,这里将 cache.initialize 方法导出并命名为 TestCacheInitialize,仅用于单元测试初始化一个完整的 CacheManager.

# Structs

CacheManager 名字服务缓存.
Config 缓存配置.