Versions in this module Expand all Collapse all v1 v1.0.0 Feb 23, 2024 Changes in this version + const Default + const Docker + func RunFxApp(app FxApp, opt *Options) error + func RunGinServer(httpServer *http.Server, opt *Options) error + func RunTaskServer(server TaskServer, opt *Options) error + type FxApp interface + Start func(ctx context.Context) (err error) + Stop func(ctx context.Context) (err error) + type Options struct + RunMode string + StopTimeoutDuration time.Duration + type TaskServer interface + Start func() + Stop func() context.Context