cmd

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(ctx context.Context, options ...*platform.Options)

Main is the entrypoint for the app.

It's expected to have control of the app lifecycle. An application exit is not expected to be graceful in case of errors. Main starts the platform server with modules loaded beforehand. It is blocking until server shutdown from cancellation of the context, or a caught SIGTERM, an OS control signal hinting the app should exit.

The variadic parameter allows to inject options from test.

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