contextx

package
v1.6.5-rc49 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithValue

func WithValue(parent context.Context, k, v interface{}) context.Context

WithValue like context.WithValue but faster

Types

type WithContext

type WithContext = func(ctx context.Context) context.Context

func WithContextCompose

func WithContextCompose(withs ...WithContext) WithContext

func WithInjectFrom

func WithInjectFrom(from context.Context) WithContext

Jump to

Keyboard shortcuts

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