Add healthcheck interval
This commit is contained in:
parent
5e8805f24d
commit
6b6f010851
3 changed files with 24 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue