Documentation ¶
Index ¶
- func New(options ...Option) *ego
- type Option
- func WithAfterStopClean(fns ...func() error) Option
- func WithBeforeStopClean(fns ...func() error) Option
- func WithConfigPrefix(configPrefix string) Option
- func WithDisableBanner(disableBanner bool) Option
- func WithHang(flag bool) Option
- func WithShutdownSignal(signals ...os.Signal) Option
- func WithStopTimeout(timeout time.Duration) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(a *ego)
func WithConfigPrefix ¶
func WithDisableBanner ¶
func WithShutdownSignal ¶ added in v0.3.0
func WithStopTimeout ¶ added in v0.3.0
Directories ¶
Path | Synopsis |
---|---|
client
|
|
core
|
|
examples
|
|
grpc/direct/helloworld
Package helloworld is a generated protocol buffer package.
|
Package helloworld is a generated protocol buffer package. |
task
|
|
Click to show internal directories.
Click to hide internal directories.