Documentation
¶
Index ¶
Constants ¶
View Source
const ( // HttpHeaderUser 系统登录用户 HttpHeaderUser = "http_user" // HTTPHeaderAppCode 后端APP代码 HTTPHeaderAppCode = "http_app_code" // HttpHeaderRequestId required id HttpHeaderRequestId = "http_mon_rid" // HttpHeaderReadReference 查询数据库使用辅助节点 HttpHeaderReadReference = "http_mon_read_preference" )
Http Header Key
View Source
const ( IdempotentStatusSend = "send" IdempotentStatusDone = "done" )
idempotent 接口幂等状态
View Source
const (
CacheKeyPrefix = "mon:v1:"
)
CacheKeyPrefix 缓存相关
View Source
const (
ContextRequestId = "CTX-RID"
)
ContextRequestId Context Value key
View Source
const (
SequenceCollection = "mon_id_generator"
)
mongodb
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.