SYMBOL INDEX (45 symbols across 6 files) FILE: api/api.go function DownHandler (line 15) | func DownHandler(w http.ResponseWriter, r *http.Request) { function UpHandler (line 24) | func UpHandler(w http.ResponseWriter, r *http.Request) { function init (line 33) | func init() { FILE: api/api_test.go function TestGETDownHandlerDoesNotChangeStatus (line 13) | func TestGETDownHandlerDoesNotChangeStatus(t *testing.T) { function TestGETUpHandlerDoesNotChangeStatus (line 30) | func TestGETUpHandlerDoesNotChangeStatus(t *testing.T) { function TestPOSTDownHandlerChangeStatus (line 48) | func TestPOSTDownHandlerChangeStatus(t *testing.T) { function TestPOSTUpHandlerChangeStatus (line 69) | func TestPOSTUpHandlerChangeStatus(t *testing.T) { FILE: checks/checks.go function FileChecker (line 16) | func FileChecker(f string) health.Checker { function HTTPChecker (line 27) | func HTTPChecker(r string, statusCode int, timeout time.Duration, header... function TCPChecker (line 53) | func TCPChecker(addr string, timeout time.Duration) health.Checker { FILE: checks/checks_test.go function TestFileChecker (line 7) | func TestFileChecker(t *testing.T) { function TestHTTPChecker (line 17) | func TestHTTPChecker(t *testing.T) { FILE: health.go type Registry (line 17) | type Registry struct method CheckStatus (line 163) | func (registry *Registry) CheckStatus() map[string]string { // TODO(st... method Register (line 184) | func (registry *Registry) Register(name string, check Checker) { method RegisterFunc (line 205) | func (registry *Registry) RegisterFunc(name string, check func() error) { method RegisterPeriodicFunc (line 217) | func (registry *Registry) RegisterPeriodicFunc(name string, period tim... method RegisterPeriodicThresholdFunc (line 229) | func (registry *Registry) RegisterPeriodicThresholdFunc(name string, p... function NewRegistry (line 25) | func NewRegistry() *Registry { type Checker (line 36) | type Checker interface type CheckFunc (line 43) | type CheckFunc method Check (line 47) | func (cf CheckFunc) Check() error { type Updater (line 52) | type Updater interface type updater (line 63) | type updater struct method Check (line 69) | func (u *updater) Check() error { method Update (line 78) | func (u *updater) Update(status error) { function NewStatusUpdater (line 86) | func NewStatusUpdater() Updater { type thresholdUpdater (line 94) | type thresholdUpdater struct method Check (line 102) | func (tu *thresholdUpdater) Check() error { method Update (line 115) | func (tu *thresholdUpdater) Update(status error) { function NewThresholdStatusUpdater (line 129) | func NewThresholdStatusUpdater(t int) Updater { function PeriodicChecker (line 134) | func PeriodicChecker(check Checker, period time.Duration) Checker { function PeriodicThresholdChecker (line 149) | func PeriodicThresholdChecker(check Checker, period time.Duration, thres... function CheckStatus (line 179) | func CheckStatus() map[string]string { function Register (line 199) | func Register(name string, check Checker) { function RegisterFunc (line 211) | func RegisterFunc(name string, check func() error) { function RegisterPeriodicFunc (line 223) | func RegisterPeriodicFunc(name string, period time.Duration, check Check... function RegisterPeriodicThresholdFunc (line 235) | func RegisterPeriodicThresholdFunc(name string, period time.Duration, th... function StatusHandler (line 242) | func StatusHandler(w http.ResponseWriter, r *http.Request) { function Handler (line 262) | func Handler(handler http.Handler) http.Handler { function statusResponse (line 277) | func statusResponse(w http.ResponseWriter, r *http.Request, status int, ... function init (line 303) | func init() { FILE: health_test.go function TestReturns200IfThereAreNoChecks (line 13) | func TestReturns200IfThereAreNoChecks(t *testing.T) { function TestReturns503IfThereAreErrorChecks (line 30) | func TestReturns503IfThereAreErrorChecks(t *testing.T) { function TestHealthHandler (line 52) | func TestHealthHandler(t *testing.T) {