const app = require(“egg”);

  1. {
  2. startCluster: [Function (anonymous)],
  3. start: [AsyncFunction (anonymous)],
  4. Application: [class Application extends EggApplication],
  5. Agent: [class Agent extends EggApplication],
  6. AppWorkerLoader: [class AppWorkerLoader extends EggLoader],
  7. AgentWorkerLoader: [class AgentWorkerLoader extends EggLoader],
  8. Controller: [class BaseContextClass extends BaseContextClass],
  9. Service: [class BaseContextClass extends BaseContextClass],
  10. Subscription: [class BaseContextClass extends BaseContextClass],
  11. BaseContextClass: [class BaseContextClass extends BaseContextClass],
  12. Boot: [class BaseHookClass]
  13. }

Object.keys(egg)

  1. [
  2. 'startCluster',
  3. 'start',
  4. 'Application',
  5. 'Agent',
  6. 'AppWorkerLoader',
  7. 'AgentWorkerLoader',
  8. 'Controller',
  9. 'Service',
  10. 'Subscription',
  11. 'BaseContextClass',
  12. 'Boot'
  13. ]