# new app(name) → {Server.Modules.AppEngine.app|Object}
Tbc...
Parameters:
Name | Type | Description |
---|---|---|
name |
string | App Name |
- Source:
Returns:
appObj - App Instance
- Type
- Server.Modules.AppEngine.app | Object
Example
Tbc...
Classes
Methods
# (static) cfg() → {object}
Tbc...
- Source:
Returns:
config - Config Object
- Type
- object
Example
Tbc...
# (static) loadController(path, ctrl) → {boolean}
Tbc...
Parameters:
Name | Type | Description |
---|---|---|
path |
string | Path to App Controller to Load |
ctrl |
object | App Controller to Load |
- Source:
Returns:
result - Result of Loading Controller (True | False)
- Type
- boolean
Example
Tbc...
# (static) routes()
Tbc...
- Source:
Example
Tbc...
# (static) unloadController(path) → {boolean}
Tbc...
Parameters:
Name | Type | Description |
---|---|---|
path |
string | Path to App Controller to Load |
- Source:
Returns:
result - Result of Unloading Controller (True | False)
- Type
- boolean
Example
Tbc...
# (static) use(middleware)
Tbc...
Parameters:
Name | Type | Description |
---|---|---|
middleware |
function | Middleware Function |
- Source:
Example
Tbc...