Documentation ¶ Index ¶ func Run(app *fx.App, noWaits ...<-chan error) type FailWait func HTTPServerLifecycle(lc fx.Lifecycle, server *http.Server, ready Ready) FailWait type Ready func ServeFlowLifecycle(lc fx.Lifecycle, serv ServeFlow) Ready type ServeFlow Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(app *fx.App, noWaits ...<-chan error) Run TODO Types ¶ type FailWait ¶ added in v0.0.5 type FailWait chan error FailWait TODO func HTTPServerLifecycle ¶ func HTTPServerLifecycle(lc fx.Lifecycle, server *http.Server, ready Ready) FailWait HTTPServerLifecycle TODO type Ready ¶ added in v0.0.5 type Ready chan error Ready TODO func ServeFlowLifecycle ¶ added in v0.0.6 func ServeFlowLifecycle(lc fx.Lifecycle, serv ServeFlow) Ready ServeFlowLifecycle TODO type ServeFlow ¶ added in v0.0.6 type ServeFlow interface { OnStart() error OnStop() error } ServeFlow TODO Source Files ¶ View all Source files httpserv.go runner.go Click to show internal directories. Click to hide internal directories.