Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Service = dependency.Service{ Dependencies: fx.Provide( healthcheck.NewHandler, ), Constructor: fx.Annotated{ Group: "server", Target: RegisterHealthcheck, }, }
Service allows the Health service to be registered with an application
Functions ¶
func RegisterHealthcheck ¶
func RegisterHealthcheck(check healthcheck.Handler) router.Module
RegisterHealthcheck registers the Healthcheck module with the router
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.