koa-hystrix

0.0.2 • Public • Published

koa-consul

This middleware depends on brakes, it will set a /hystrix.stream route as default. You can use hystrix-dashboard to get the circuit's status.

Usage

import Koa from 'koa';
import KoaHystrix from 'koa-hystrix';
 
let app = new Koa();
 
app.use(KoaHystrix());

API

KoaConsul(options)

  • options.url

Package Sidebar

Install

npm i koa-hystrix

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • zfeng