Global

Members

BaseContextClass :Controller

Retreive base context class

Since:
  • 1.0.0
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

Source:

Service :Service

Retreive base service

Since:
  • 1.0.0
Source:

start

Start egg application with single process mode

Since:
  • 1.0.0
Source:

startCluster

Start egg application with cluster mode

Since:
  • 1.0.0
Source:

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 app/extend/{name}.js

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

Source: