Versions in this module Expand all Collapse all v0 v0.3.1 Jun 21, 2021 Changes in this version + const StageAfterStop + const StageBeforeStop + type Application struct + HideBanner bool + func DefaultApp() *Application + func New(fns ...func() error) (*Application, error) + func (a *Application) WithOptions(options ...Option) + func (app *Application) GracefulStop(ctx context.Context) (err error) + func (app *Application) Job(runner job.Runner) error + func (app *Application) RegisterHooks(k uint32, fns ...func() error) error + func (app *Application) Run(servers ...server.Server) error + func (app *Application) Schedule(w worker.Worker) error + func (app *Application) Serve(s ...server.Server) error + func (app *Application) SetRegistry(reg registry.Registry) + func (app *Application) Startup(fns ...func() error) error + func (app *Application) Stop() (err error) + type Disable int + const DisableDefaultGovernor + const DisableLoadConfig + const DisableParserFlag + type Option func(a *Application) + func WithConfigParser(unmarshaller conf.Unmarshaller) Option + func WithDisable(d Disable) Option