Skip to content

Instantly share code, notes, and snippets.

@evanxg852000
Created December 7, 2018 11:43
Show Gist options
  • Save evanxg852000/2f5b429aeb84cd4e89aa8439bad13516 to your computer and use it in GitHub Desktop.
Save evanxg852000/2f5b429aeb84cd4e89aa8439bad13516 to your computer and use it in GitHub Desktop.
const http = require('http')
const Router = require('./router')
const Templater = require('./templater')
class Micro {
constructor(config = {}){}
boot(callback){}
route(fn){}
_handleRequest(request, response){}
_patchResponse(response){}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment