Documentation ¶
Index ¶
- type Engine
- func (eng *Engine) GracefulStop(ctx context.Context) (err error)
- func (eng *Engine) Serve() (err error)
- func (eng *Engine) SetRegistry(reg registry.Registry)
- func (eng *Engine) SetSignalHooker(hook func(signal.App))
- func (eng *Engine) Startup(fns ...func() error) (err error)
- func (eng *Engine) Stop() (err error)
- type EngineContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewEngine ¶
func NewEngine(ec EngineContext) *Engine
func (*Engine) SetRegistry ¶
func (*Engine) SetSignalHooker ¶
Click to show internal directories.
Click to hide internal directories.