• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alexferl / zerohttp / 22926680321
94%

Build:
DEFAULT BRANCH: master
Ran 10 Mar 2026 10:13PM UTC
Jobs 1
Files 66
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Mar 2026 10:12PM UTC coverage: 93.461% (-0.03%) from 93.493%
22926680321

push

github

web-flow
fix: add cleanup function for reverse proxy health checks (#68)

ReverseProxy now returns a cleanup function that properly stops the
health check goroutine to prevent goroutine leaks on shutdown.

The function signature changed from:
    `func ReverseProxy(cfg) func(http.Handler) http.Handler`
to:
    `func ReverseProxy(cfg) (func(http.Handler) http.Handler, func())`

Usage:
    ```
    rp, cleanup := middleware.ReverseProxy(config)
    defer cleanup()
    ```

Updated all tests and examples to use the new signature.

Signed-off-by: alexferl <me@alexferl.com>

5 of 5 new or added lines in 1 file covered. (100.0%)

5 existing lines in 1 file now uncovered.

8090 of 8656 relevant lines covered (93.46%)

45.9 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
88.05
-0.57% server.go
Jobs
ID Job ID Ran Files Coverage
1 22926680321.1 10 Mar 2026 10:13PM UTC 66
93.46
GitHub Action Run
Source Files on build 22926680321
  • Tree
  • List 66
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22926680321
  • 8dc11e6b on github
  • Prev Build on master (#22926404657)
  • Next Build on master (#22927006828)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc