bootstrap

command
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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