ctxvaluer

package
v0.1.6-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 4 Imported by: 0

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

Functions

func CreateBaseTaskContext

func CreateBaseTaskContext(parent context.Context, params CreateParams) context.Context

Types

type CreateParams

type CreateParams struct {
	CorrelationID string
	ExecutorUser  string
	AgentName     string
	Owner         string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL