Versions in this module Expand all Collapse all v0 v0.0.2 Feb 13, 2025 Changes in this version + type Ego struct + func New(options ...Option) *Ego + func (e *Ego) Cron(w ...ecron.Ecron) *Ego + func (e *Ego) Invoker(fns ...func() error) *Ego + func (e *Ego) Job(runners ...ejob.Ejob) *Ego + func (e *Ego) OrderServe(s ...server.OrderServer) *Ego + func (e *Ego) Registry(reg eregistry.Registry) *Ego + func (e *Ego) Run() error + func (e *Ego) Serve(s ...server.Server) *Ego + func (e *Ego) Stop(ctx context.Context, isGraceful bool) (err error) + type Option func(a *Ego) + func WithAfterStopClean(fns ...func() error) Option + func WithArguments(arguments []string) Option + func WithBeforeStopClean(fns ...func() error) Option + func WithConfigPrefix(configPrefix string) Option + func WithDisableBanner(disableBanner bool) Option + func WithDisableFlagConfig(disableFlagConfig bool) Option + func WithHang(flag bool) Option + func WithShutdownSignal(signals ...os.Signal) Option + func WithStopTimeout(timeout time.Duration) Option