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 |
|
examples
|
|
|
build
command
|
|
|
config/onelineByFile
command
|
|
|
config/onelineByFileWatch
command
|
|
|
config/structByFile
command
|
|
|
config/structByFileWatch
command
|
|
|
grpc/direct/client
command
|
|
|
grpc/direct/server
command
|
|
|
helloworld
command
|
|
|
http/client
command
|
|
|
http/server
command
|
|
|
logger/console
command
|
|
|
logger/file
command
|
|
|
logger/watch
command
|
|
|
server/governor
command
|
|
|
server/grpc
command
|
|
|
server/http
command
|
|
|
task/cron
command
|
|
|
task/job
command
|
|
|
task
|
|
Click to show internal directories.
Click to hide internal directories.

