Discover Packages
github.com/frameworksc/atlas-app-toolkit
health
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Apr 12, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Check
DNSProbeCheck returns a Check that determines wheteher service
with specified dns name is reachable or not using net.Resolver's LookupHost method.
HTTPGetCheck returns a Check that performs an HTTP GET request to the
specified URL. It fails whether timeout is reached or non-200-OK status code returned.
Checker ...
NewChecksHandler accepts two strings: health and ready paths.
These paths will be used for liveness and readiness checks.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.