new Server()
This class encapsulates a Koa
application and provides an API
for controlling the configuration and life-cycle of application server.
This class encapsulates a Koa
application and provides an API
for controlling the configuration and life-cycle of application server.
Server
contains the following public variables:
app
The instantiated Koa applicationconfig
The application-specific configuration objectlogger
A reference to the app logger