Members
BaseContextClass :BaseContextClass
Retreive base context class
- Since:
- 1.0.0
- Source:
BaseHookClass :BaseHookClass
Retreive base context class
- Source:
Controller :Controller
Retreive base controller
- Since:
- 1.0.0
- Source:
(constant) loaders
Mixin methods to EggLoader // ES6 Multiple Inheritance https://medium.com/@leocavalcante/es6-multiple-inheritance-73a3c66d2b6b
Service :Service
Retreive base service
- Since:
- 1.0.0
- Source:
start
Start egg application with single process mode
startCluster
Start egg application with cluster mode
state :Object
alias to Context#locals, compatible with koa that use this variable
- Source:
- See:
Subscription :Subscription
Retreive base subscription
- Since:
- 2.12.0
- Source:
Methods
loadExtend(name, proto)
Loader app/extend/xx.js to prototype
,
Parameters:
Name | Type | Description |
---|---|---|
name
|
String | filename which may be |
proto
|
Object | prototype that mixed |
- Since:
- 1.0.0
- Source:
prepareObjectStackTrace()
Capture call site stack from v8. https://github.com/v8/v8/wiki/Stack-Trace-API