• Miek Gieben's avatar
    pkg/up: add generic run-this-functions (#1481) · fb1cafe5
    Miek Gieben authored
    This adds a generic way of start a check function to check a backend.
    This package can be used to kick off healthchecks. The package makes
    sure only 1 is run at any one time.
    
    It should allow for:
    See upstream error -> kick off healthcheck
    
    and not to worry about overwhelming the upstream with a barrage of
    queries.
    fb1cafe5
up.go 1.51 KB