goquectx

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package goquectx provides utilities for managing task metadata within context values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValueByKey

func ValueByKey(ctx context.Context, key string) any

ValueByKey retrieves stored value from the context by key.

func Values

func Values(ctx context.Context) entity.Metadata

Values retrieves all stored metadata values from the context.

func WithValue

func WithValue(ctx context.Context, key string, value any) context.Context

WithValue adds a single key-value pair to the context for task metadata tracking.

func WithValues

func WithValues(ctx context.Context, kv entity.Metadata) context.Context

WithValues adds multiple key-value pairs to the context for task metadata tracking.

Types

This section is empty.

Jump to

Keyboard shortcuts

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