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