internal

package
v0.0.0-...-de2e9b4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Bootstrapper = fxcore.NewBootstrapper().WithOptions(

	fxworker.FxWorkerModule,

	Register(),
)

Bootstrapper can be used to load modules, options, dependencies and bootstraps the application.

View Source
var RootDir string

RootDir is the application root directory.

Functions

func Register

func Register() fx.Option

Register is used to register the application dependencies.

func Run

func Run(ctx context.Context)

Run starts the application, with a provided context.Context.

func RunTest

func RunTest(tb testing.TB, options ...fx.Option)

RunTest starts the application in test mode, with an optional list of fx.Option.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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