Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prober ¶ added in v1.2.0
type Prober struct {
// contains filtered or unexported fields
}
Prober holds application readiness/liveness status and provides handlers for reporting it.
func NewInRouter ¶
func NewInRouter(logger log.FieldLogger, router *mux.Router) *Prober
NewInRouter returns new Prober which registers its endpoints in the Router to provide readiness and liveness endpoints.
func (*Prober) SetServerNotReady ¶ added in v1.2.0
SetServerNotReady sets the readiness probe to invalid state.
Click to show internal directories.
Click to hide internal directories.