Add healthcheck interval

This commit is contained in:
Julien Salleyron
2017-02-06 22:59:50 +01:00
committed by Emile Vauge
parent 5e8805f24d
commit 6b6f010851
3 changed files with 24 additions and 6 deletions

View File

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