Documentation ¶
Index ¶
- Variables
- func NewHealthObserver(healthServer *server.Server) *http.HealthObserver
- func NewLivenessObserver(healthServer *server.Server) *http.LivenessObserver
- func NewReadinessObserver(healthServer *server.Server) *http.ReadinessObserver
- func NewRegistrations(params Params) health.Registrations
- type Params
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewHealthObserver), fx.Provide(NewLivenessObserver), fx.Provide(NewReadinessObserver), fx.Provide(NewRegistrations), health.Module, )
Module for fx.
Functions ¶
func NewHealthObserver ¶ added in v0.9.0
func NewHealthObserver(healthServer *server.Server) *http.HealthObserver
NewHealthObserver for HTTP.
func NewLivenessObserver ¶ added in v0.9.0
func NewLivenessObserver(healthServer *server.Server) *http.LivenessObserver
NewLivenessObserver for HTTP.
func NewReadinessObserver ¶ added in v0.9.0
func NewReadinessObserver(healthServer *server.Server) *http.ReadinessObserver
NewReadinessObserver for HTTP.
func NewRegistrations ¶
func NewRegistrations(params Params) health.Registrations
NewRegistrations for health.
Types ¶
Click to show internal directories.
Click to hide internal directories.