Documentation ¶
Index ¶
- Constants
- func Clean()
- func GetMetadata(goId ...int64) metadata.MD
- func GetReqId(inputId ...int64) string
- func GetUid() (ret dt.ID)
- func GoRun(f func())
- func GoRunWithContext(ctx context.Context, f func(ctx context.Context))
- func InitContext(initMetadata ...metadata.MD)
- func InitReqId(reqId ...string)
- func SetUid(uid dt.ID)
- func Wait()
- func WithContext(ctx context.Context)
Constants ¶
View Source
const ( HeaderTraceReqId = "trace-req-id" HeaderTraceUid = "trace-uid" )
Variables ¶
This section is empty.
Functions ¶
func GetMetadata ¶
func InitContext ¶
func WithContext ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.