Versions in this module Expand all Collapse all v0 v0.2.0 Mar 1, 2024 Changes in this version type Reporter + func (r *Reporter) Recover(next http.Handler) http.Handler v0.1.0 Feb 29, 2024 Changes in this version + const LivenessAffirmativeResponseCode + const LivenessNegativeResponseCode + const ReadinessAffirmativeResponseCode + const ReadinessNegativeResponseCode + type Config struct + Addr string + LivenessRoute string + Logger health.Logger + Port int + ReadinessRoute string + type Reporter struct + func NewReporter(cfg Config) *Reporter + func (r *Reporter) Run(_ context.Context) error + func (r *Reporter) SetLiveness(_ context.Context, b bool) + func (r *Reporter) SetReadiness(_ context.Context, b bool) + func (r *Reporter) Stop(ctx context.Context) error + func (r *Reporter) UpdateHealthChecks(_ context.Context, m map[string]*healthpb.Check)