Versions in this module Expand all Collapse all v2 v2.0.2 Jan 16, 2024 Changes in this version + type Application struct + func NewApplication(runner func(ctx *context.WaitStopContext, t *testing.T) error, t *testing.T, ...) *Application + func (app *Application) AddCommand(cmd ...*cobra.Command) + func (app *Application) Context() *context.WaitStopContext + func (app *Application) Start() + func (app *Application) WaitStop(clearFunc func(ctx *context.WaitStopContext) error) + type Option func(app *Application) + func WithConfig(conf ...any) Option + func WithConfigCenter(configCenterType enum.ConfigCenterType, opt any) Option + func WithInitializer(strict bool, init ...func() error) Option + func WithLogLevel(level logrus.Level) Option Other modules containing this package gitee.com/eden-framework/eden-framework