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
|
|
util/xbuffer
Package buffer provides an implementation of an unbounded buffer.
|
Package buffer provides an implementation of an unbounded buffer. |
util/xtime
https://github.com/siddontang/go/tree/master/time2
|
https://github.com/siddontang/go/tree/master/time2 |
example
|
|
task
|
|
Click to show internal directories.
Click to hide internal directories.