mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 12:42:34 +02:00
13 lines
395 B
Go
13 lines
395 B
Go
package health
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type HealthCheckConfig struct {
|
|
Disable bool `json:"disable,omitempty" yaml:"disable" aliases:"disabled"`
|
|
Path string `json:"path,omitempty" yaml:"path"`
|
|
UseGet bool `json:"use_get,omitempty" yaml:"use_get"`
|
|
Interval time.Duration `json:"interval" yaml:"interval"`
|
|
Timeout time.Duration `json:"timeout" yaml:"timeout"`
|
|
}
|