Ai
1 Star 0 Fork 0

ainiaa/go-cat-util

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
constants.go 673 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jeff Liu 提交于 2021-04-27 12:20 +08:00 . update
package catutil
const (
CatCtx = "cat_ctx"
CatCtxRootTran = "cat_root_tran"
CatCtxRedisTran = "cat_redis_tran"
CatCtxMysqlTran = "cat_mysql_tran"
CatCtxMongoDbTran = "cat_mongo_db_tran"
CatCtxHttpRemoteTran = "cat_http_remote_tran"
TypeHttpRemote = "HttpRemoteCall"
TypeMongoDbPrefix = "MongoDb."
TypeUrlStatus = "URL.status"
RemoteCallMethod = "RemoteCall.Method"
RemoteCallErr = "RemoteCall.Err"
RemoteCallStatus = "RemoteCall.Status"
RemoteCallScheme = "RemoteCall.Scheme"
TraceIdHeaderName = "x-trace-id"
ContextKeyRequestId = "requestId"
ContextKeyTraceId = "traceId"
ContextKeyStartTime = "startTime"
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/ainiaa/go-cat-util.git
git@gitee.com:ainiaa/go-cat-util.git
ainiaa
go-cat-util
go-cat-util
v0.0.1

搜索帮助