Documentation ¶ Index ¶ func Chain(ctx context.Context, fns ...Func) (context.Context, error) func MustValue[T any](ctx context.Context, key any) T func Pipe(ctx context.Context, fns ...Func) (context.Context, error) func Value[T any](ctx context.Context, key any) (T, bool) type Func Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Chain ¶ func Chain(ctx context.Context, fns ...Func) (context.Context, error) Chain is a reverse Pipe. func MustValue ¶ added in v2.11.0 func MustValue[T any](ctx context.Context, key any) T func Pipe ¶ func Pipe(ctx context.Context, fns ...Func) (context.Context, error) Pipe returns a Provider that chains the provided Providers. func Value ¶ added in v2.11.0 func Value[T any](ctx context.Context, key any) (T, bool) Types ¶ type Func ¶ type Func func(ctx context.Context) (context.Context, error) Source Files ¶ View all Source files contexts.go values.go Click to show internal directories. Click to hide internal directories.