Versions in this module Expand all Collapse all v0 v0.1.3 Feb 4, 2023 v0.1.2 Aug 24, 2020 Changes in this version + const DefaultFrequency + const DefaultTimeout + type LoggerFunc func(testName, messageText, errorText string) + type Result struct + Error string + Healthy bool + Message string + type Results map[string]Result + func (r Results) Failed() bool + type TestFunc func(context.Context) error + type TestFuncs map[string]TestFunc + type Tester struct + Context context.Context + Log LoggerFunc + Tests TestFuncs + Timeout time.Duration + func (t Tester) Run() Results + func (t Tester) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Ticker struct + Frequency time.Duration + func (tick *Ticker) GetResults() Results + func (tick *Ticker) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (tick *Ticker) Start() + func (tick *Ticker) Stop()