github.com/isyscore/isc-gobase@v1.5.3-0.20231218061332-cbc7451899e9/constants/constants.go (about)

     1  package constants
     2  
     3  const (
     4  	BeanNameGormPre  = "redis_"
     5  	BeanNameXormPre  = "xorm_"
     6  	BeanNameRedisPre = "redis_"
     7  	BeanNameEtcdPre  = "etcd_"
     8  )
     9  
    10  const (
    11  	TRACE_HEAD_ID             = "t-head-traceId"
    12  	TRACE_HEAD_RPC_ID         = "t-head-rpcId"
    13  	TRACE_HEAD_SAMPLED        = "t-head-sampled"
    14  	TRACE_HEAD_USER_ID        = "t-head-userId"
    15  	TRACE_HEAD_USER_NAME      = "t-head-userName"
    16  	TRACE_HEAD_REMOTE_IP      = "t-head-remoteIp"
    17  	TRACE_HEAD_REMOTE_APPNAME = "t-head-remoteAppName"
    18  	TRACE_HEAD_ORIGNAL_URL    = "t-head-orignal-url"
    19  )
    20  
    21  const (
    22  	SAVE_HEAD        = "head"
    23  	SAVE_REMOTE_ADDR = "remote_addr"
    24  )