goHystrix
goHystrix copied to clipboard
Like Nexflix Hystrix but in Go
Hi, I can only find ErrorPercetageThreshold on the README.md and nothing on the code itself, only ErrorsThreshold.
Put a cancellation channel or context like this http://blog.golang.org/context, so you can is some way to send a cancellacion signal to go routines
Add a way to define a command with a function (like http.HandleFunc works :)
With the JSON of all the circuits is possible to render a dashboard similar to https://raw.github.com/wiki/Netflix/Hystrix/images/hystrix-dashboard-single-row.png
I'm thinking of moving the methods Timeout(), Name(), and Group() to CommandOptions and keep the Interface simple. You can pass the options to the NewCommand as following NewCommand(interface, commandOptions, circuitOptions)...