Documentation
¶
Overview ¶
Package main demonstrates modulex/app's Run helper together with modulex.WithTypedConfig. Together they replace the hand-written construct-manager / type-assert config loader / signal-context / Init-Start-wait-Stop skeleton that every modulex service entrypoint otherwise repeats (compare with examples/quickstart, which shows that skeleton written out explicitly) with a single Run call.
Run for a few seconds, or press Ctrl+C to trigger a graceful shutdown:
go run ./examples/bootstrap
Click to show internal directories.
Click to hide internal directories.