contextfx

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContextDecoratorOption = fx.Options(
	fx.Decorate(func(
		ctx context.Context,
		params contextDecoratorParams,
	) context.Context {
		for _, decoratorFn := range params.Decorators {
			ctx = decoratorFn(ctx)
		}
		return ctx
	}),
)

Functions

func Provider

func Provider(constructor any, opts ...fx.Annotation) fx.Option

Types

This section is empty.

Jump to

Keyboard shortcuts

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