keys

package
v0.19.783 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccountCtxKey         string = "account"
	AccountIDCtxKey       string = "account_id"
	CfgCtxKey             string = "config"
	IsGlobalKey           string = "is_global"
	InstallWorkflowCtxKey string = "workflow"
	FlowCtxKey            string = "flow"
	IsEmployeeCtxKey      string = "is_employee"
	LoggerFieldsCtxKey    string = "logger_fields"
	LogStreamCtxKey       string = "log_stream"
	MetricsKey            string = "metrics"
	OrgCtxKey             string = "org"
	OrgIDCtxKey           string = "org_id"
	OffPaginationCtxKey   string = "offset_pagination"
	IsPublicKey           string = "is_public"
	RunnerCtxKey          string = "runner"
	RunnerIDCtxKey        string = "runner_id"
	DisableViewCtxKey     string = "disable_view"
	PatcherCtxKey         string = "patcher"
	TraceIDCtxKey         string = "trace_id"
)

All of the context keys are defined here so we can use them in different contexts.

While most every package can use the cctx helpers directly, since they do leverage models, anything in the models that needs information from the context can not rely on that package directly, otherwise a circular dependency will be created.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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