Documentation
¶
Index ¶
- type Engine
- func (t *Engine) GetConfig() interfaces.IConfig
- func (t *Engine) GetLogger() interfaces.ILogger
- func (t *Engine) GetModule(typeModule string, key string) interfaces.IModules
- func (t *Engine) GetPkg(typePkg string, key string) interfaces.IPkg
- func (t *Engine) GetTask(key string) interfaces.ITask
- func (t *Engine) Init() error
- func (t *Engine) PushModule(c interfaces.IModules) interfaces.IEngine
- func (t *Engine) PushPkg(c interfaces.IPkg) interfaces.IEngine
- func (t *Engine) PushTask(b interfaces.ITask) interfaces.IEngine
- func (t *Engine) RemoveTask(key string)
- func (t *Engine) RunTask(key string, args map[string]interface{}) error
- func (t *Engine) SetMetrics(c interfaces.IMetrics)
- func (t *Engine) SetTrace(c interfaces.ITrace)
- func (t *Engine) Stop() error
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 (*Engine) GetConfig ¶
func (t *Engine) GetConfig() interfaces.IConfig
func (*Engine) GetLogger ¶
func (t *Engine) GetLogger() interfaces.ILogger
func (*Engine) GetModule ¶
func (t *Engine) GetModule(typeModule string, key string) interfaces.IModules
func (*Engine) PushModule ¶
func (t *Engine) PushModule(c interfaces.IModules) interfaces.IEngine
func (*Engine) PushPkg ¶
func (t *Engine) PushPkg(c interfaces.IPkg) interfaces.IEngine
func (*Engine) PushTask ¶
func (t *Engine) PushTask(b interfaces.ITask) interfaces.IEngine
func (*Engine) RemoveTask ¶
func (*Engine) SetMetrics ¶
func (t *Engine) SetMetrics(c interfaces.IMetrics)
func (*Engine) SetTrace ¶
func (t *Engine) SetTrace(c interfaces.ITrace)
Click to show internal directories.
Click to hide internal directories.