package
Version:
v1.3.5
Opens a new window with list of versions in this module.
Published: Nov 11, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CompareAndSwapDB 仅供测试环境安全地安装和移除临时数据库实例。
DB 返回当前进程级数据库实例,未初始化时返回 nil。
Redis 返回当前进程级 Redis 客户端,未初始化时返回 nil。
SetDB 设置生产运行时使用的进程级数据库实例。
SetRedis 设置生产运行时使用的进程级 Redis 客户端。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.