07-dependency-injection/

directory
v14.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: BSD-3-Clause

Directories

Path Synopsis
Constructor injection: a value, constructor functions and an interface parameter matched by method set.
Constructor injection: a value, constructor functions and an interface parameter matched by method set.
HandlerFunc: dependency injection for plain handlers and middleware.
HandlerFunc: dependency injection for plain handlers and middleware.
Service lifecycle: iris.Initializer at startup, closers at shutdown.
Service lifecycle: iris.Initializer at startup, closers at shutdown.
Request-scoped dependencies: the function itself is injected, not its result.
Request-scoped dependencies: the function itself is injected, not its result.

Jump to

Keyboard shortcuts

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