runner

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

Run runs the application and returns the exit code.

func RunAndExit

func RunAndExit(app componego.Application, appMode componego.ApplicationMode)

RunAndExit runs the application and exits the program after stopping the application.

func RunGracefullyAndExit added in v0.0.3

func RunGracefullyAndExit(app componego.Application, appMode componego.ApplicationMode)

RunGracefullyAndExit runs the application and stops it gracefully. This function cancels the main context of the application, so the process of stopping the application depends on your application code.

func RunWithContext added in v0.0.3

func RunWithContext(ctx context.Context, app componego.Application, appMode componego.ApplicationMode) int

RunWithContext runs the application with context and returns the exit code.

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