dz-kfc
v0.0.2
Published
kong fancy client
Downloads
3
Readme
dz-kfc
usage
download
npm install dz-kfc
register
import Kong from 'dz-kfc' const config = { kong_url: 'http://localhost:8001', route: { paths: ['/derekzhou'] }, service: { host: 'derekzhouupstream', name: 'derekzhou-test', path: '/', port: 5555, }, upstream: { name: 'derekzhouupstream' } } const KFC = new Kong(config) KFC.register().then(() => {})
unregister