package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Oct 5, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package health contains code for health checks.
SetupRouter setups all pingers to /health.
Pinger pings external service.
SubjectPinger returns wrapper over Ping function which adds subject to error message.
It is helpful for external Ping function, e.g. (sql.DB).Ping.
type VersionResponse struct {
Version string `json:"version"`
Commit string `json:"commit"`
}
VersionResponse ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.