app

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Modules

func Modules(modules ...func() module.Module) opt.Option[App]

func StartTimeout added in v0.4.4

func StartTimeout(timeout time.Duration) opt.Option[App]

func StopTimeout added in v0.4.4

func StopTimeout(timeout time.Duration) opt.Option[App]

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func New

func New(name, version string, opts ...opt.Option[App]) *App

func (*App) Run

func (app *App) Run()

Jump to

Keyboard shortcuts

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