Documentation ¶
Index ¶
Constants ¶
View Source
const ( CorrelationIDKey = "x-correlationId" ExecutorUserKey = "x-executor-user" AgentNameKey = "x-agentname" OwnerKey = "x-owner" TraceIDKey = "trace-id" SpanIDKey = "span-id" )
Variables ¶
View Source
var ( CorrelationID = appctx.NewValuer[string](CorrelationIDKey) ExecutorUser = appctx.NewValuer[string](ExecutorUserKey) TraceID = appctx.NewValuer[string](TraceIDKey) SpanID = appctx.NewValuer[string](SpanIDKey) AgentName = appctx.NewValuer[string](AgentNameKey) Owner = appctx.NewValuer[string](OwnerKey) )
Functions ¶
func CreateBaseTaskContext ¶
func CreateBaseTaskContext(parent context.Context, params CreateParams) context.Context
Types ¶
Click to show internal directories.
Click to hide internal directories.