bootmodules

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assemble added in v0.43.0

func Assemble(prefix, host []fx.Option) []fx.Option

Assemble composes the framework's boot options in the one order it supports: the caller's environment prefix (config, data sources, fx logger), then the canonical business modules, then the host's own options, then the trailing invoke that must observe every start hook appended above it.

Both boot paths go through it — vef.Run and the internal/apptest harness — so neither can place the trailing slot wrong and the ordering has a single authority instead of two copies held together by comments.

The trailing slot currently holds cron.StartScheduler, which must run after every module's start hook; see that function for why.

Types

This section is empty.

Jump to

Keyboard shortcuts

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