Documentation ¶
Index ¶
- type Engine
- func (e *Engine) App() *iris.Application
- func (e *Engine) Config() *config.Config
- func (e *Engine) Defer(f func())
- func (e *Engine) Get(name string) types.Component
- func (e *Engine) IfMiddleware(env string, middleware types.MiddlewareHandler)
- func (e *Engine) IfRouteMiddleware(env string, middleware types.MiddlewareHandler)
- func (e *Engine) Implement(fn func() error)
- func (e *Engine) IsDev() bool
- func (e *Engine) Middleware(middleware types.MiddlewareHandler)
- func (e *Engine) Module(name string, module types.Module)
- func (e *Engine) Parse(file string, out interface{}) error
- func (e *Engine) Plugin(name string, plugin types.PluginHandler)
- func (e *Engine) Reset(f func(c *config.Config))
- func (e *Engine) RouteMiddleware(middleware types.MiddlewareHandler)
- func (e *Engine) Run(file string) error
- func (e *Engine) Set(name string, component types.Component)
- func (e *Engine) SetPostMemory(memory int64)
- func (e *Engine) Stop() error
- func (e *Engine) Test(file string) error
- func (e *Engine) Worker(name string, worker types.Worker)
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) IfMiddleware ¶
func (e *Engine) IfMiddleware(env string, middleware types.MiddlewareHandler)
func (*Engine) IfRouteMiddleware ¶
func (e *Engine) IfRouteMiddleware(env string, middleware types.MiddlewareHandler)
func (*Engine) Middleware ¶
func (e *Engine) Middleware(middleware types.MiddlewareHandler)
func (*Engine) RouteMiddleware ¶
func (e *Engine) RouteMiddleware(middleware types.MiddlewareHandler)
func (*Engine) SetPostMemory ¶
Click to show internal directories.
Click to hide internal directories.