Rename health check URL parameter to path.

Also improve documentation.
This commit is contained in:
Timo Reimann
2017-03-14 01:22:08 +01:00
committed by Emile Vauge
parent f324983946
commit a507cb4835
4 changed files with 39 additions and 33 deletions

View File

@@ -39,7 +39,7 @@ type CircuitBreaker struct {
// HealthCheck holds HealthCheck configuration
type HealthCheck struct {
URL string `json:"url,omitempty"`
Path string `json:"path,omitempty"`
Interval string `json:"interval,omitempty"`
}