Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(server *http.Server, hob *HealthObserver, lob *LivenessObserver, rob *ReadinessObserver) error
Register health for HTTP.
Types ¶
type HealthObserver ¶ added in v1.27.2
type HealthObserver struct {
*subscriber.Observer
}
HealthObserver for HTTP.
type LivenessObserver ¶ added in v1.27.2
type LivenessObserver struct {
*subscriber.Observer
}
LivenessObserver for HTTP.
type ReadinessObserver ¶ added in v1.27.2
type ReadinessObserver struct {
*subscriber.Observer
}
ReadinessObserver for HTTP.
Click to show internal directories.
Click to hide internal directories.