1.0.0 • Published 6 years ago
pz.application v1.0.0
Application
Unified code, general use the koa middleware
- constructor(options) attach the context with options field
ctx.options
- use(middleware) add middleware (the same as koa.use)
add middleware
- exec(handleFn) handle function
handleFn(err,ctx)
1.0.0
6 years ago