health

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL