Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Component = &app.Component{ Dependencies: app.Components{ logger.Component, closer.OsSignalComponent, }, Constructor: func(container container.Container) error { return container.Provide(New) }, Serve: func(c container.Container) error { runner, err := container.Get[Runner](c) if err != nil { return err } return runner.Serve() }, }
View Source
var (
ShutdownError = errors.New("runner: shutdown")
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.