1 | ;
|
2 |
|
3 | /**
|
4 | * @namespace Egg
|
5 | */
|
6 |
|
7 | /**
|
8 | * Start egg application with cluster mode
|
9 | * @since 1.0.0
|
10 | */
|
11 | exports.startCluster = require('egg-cluster').startCluster;
|
12 |
|
13 | /**
|
14 | * Start egg application with single process mode
|
15 | * @since 1.0.0
|
16 | */
|
17 | exports.start = require('./lib/start');
|
18 |
|
19 | /**
|
20 | * @member {Application} Egg#Application
|
21 | * @since 1.0.0
|
22 | */
|
23 | exports.Application = require('./lib/application');
|
24 |
|
25 | /**
|
26 | * @member {Agent} Egg#Agent
|
27 | * @since 1.0.0
|
28 | */
|
29 | exports.Agent = require('./lib/agent');
|
30 |
|
31 | /**
|
32 | * @member {AppWorkerLoader} Egg#AppWorkerLoader
|
33 | * @since 1.0.0
|
34 | */
|
35 | exports.AppWorkerLoader = require('./lib/loader').AppWorkerLoader;
|
36 |
|
37 | /**
|
38 | * @member {AgentWorkerLoader} Egg#AgentWorkerLoader
|
39 | * @since 1.0.0
|
40 | */
|
41 | exports.AgentWorkerLoader = require('./lib/loader').AgentWorkerLoader;
|
42 |
|
43 | /**
|
44 | * @member {Controller} Egg#Controller
|
45 | * @since 1.1.0
|
46 | */
|
47 | exports.Controller = require('./lib/core/base_context_class');
|
48 |
|
49 | /**
|
50 | * @member {Service} Egg#Service
|
51 | * @since 1.1.0
|
52 | */
|
53 | exports.Service = require('./lib/core/base_context_class');
|
54 |
|
55 | /**
|
56 | * @member {Subscription} Egg#Subscription
|
57 | * @since 1.10.0
|
58 | */
|
59 | exports.Subscription = require('./lib/core/base_context_class');
|
60 |
|
61 | /**
|
62 | * @member {BaseContextClass} Egg#BaseContextClass
|
63 | * @since 1.2.0
|
64 | */
|
65 | exports.BaseContextClass = require('./lib/core/base_context_class');
|
66 |
|
67 | /**
|
68 | * @member {Boot} Egg#Boot
|
69 | */
|
70 | exports.Boot = require('./lib/core/base_hook_class');
|