Documentation ¶ Index ¶ func Chain(ctx context.Context, fns ...Handler) (context.Context, error) func MustValue[T any](ctx context.Context, key any) T func Pipe(ctx context.Context, fns ...Handler) (context.Context, error) func Value[T any](ctx context.Context, key any) (T, bool) type Funcdeprecated type Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Chain ¶ func Chain(ctx context.Context, fns ...Handler) (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 ...Handler) (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 deprecated type Func Handler Deprecated: Use Handler instead. type Handler ¶ added in v2.14.2 type Handler 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.