0.0.4 • Published 6 years ago

floret-gateway-kong v0.0.4

Weekly downloads
6
License
Apache-2.0
Repository
github
Last release
6 years ago

floret-gateway-kong

Gateway adapter for floret. Use this module to connect floret to a Kong API Gateway.

API

const Floret = require('floret');
let floret = new Floret();
let Gateway = floret.Gateway;
let gw = new Gateway('gw', 'http://127.0.0.1', 8001, 8000, 'primary');

// * delete a single service and routes
gw.deleteService('serviceName').catch((e) => console.log(e));

// * delete all services/routes
// gw.deleteAllServices().catch((e) => console.log(e));
0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago