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

go-pkgz / rest / 28482804882
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: timeout-middleware
DEFAULT BRANCH: master
Ran 30 Jun 2026 11:35PM UTC
Jobs 1
Files 22
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

30 Jun 2026 11:34PM UTC coverage: 96.096% (+0.1%) from 96.0%
28482804882

Pull #45

github

paskal
feat: add Timeout middleware

Bounds a request to a given duration via context.WithTimeout and responds with
504 if the deadline is exceeded before the handler writes a response. Wraps the
ResponseWriter to track whether the response was already committed (so a timed-out
handler that already wrote output is not hit with a superfluous WriteHeader(504))
while forwarding Flush and Hijack to the underlying writer.
Pull Request #45: feat: add Timeout middleware

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

1206 of 1255 relevant lines covered (96.1%)

52.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28482804882.1 30 Jun 2026 11:35PM UTC 22
96.1
GitHub Action Run
Source Files on build 28482804882
  • Tree
  • List 22
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #45
  • PR Base - master (#28482628545)
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