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

go-pkgz / rest
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.20.6
DEFAULT BRANCH: master
Repo Added 14 Jul 2018 07:41PM UTC
Files 18
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

LAST BUILD ON BRANCH refs/tags/v1.20.6
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 1.1.3
  • apache-log
  • benchmarks
  • dependabot/go_modules/go_modules-5a9c29dde4
  • dependabot/go_modules/go_modules-dd7da38a6b
  • dependabot/go_modules/go_modules-ee7f9554a6
  • fix-ci-caching
  • fix-content-type-header
  • fs-opts
  • hashed-auth
  • health
  • master
  • paskal/add_ipv4_link_local
  • paskal/golangci_lint
  • paskal/remove_errors
  • rbac
  • realip
  • realip-cdn-support
  • refs/tags/v1.10.0
  • refs/tags/v1.11.0
  • refs/tags/v1.12.0
  • refs/tags/v1.12.1
  • refs/tags/v1.13.0
  • refs/tags/v1.14.0
  • refs/tags/v1.15.0
  • refs/tags/v1.15.1
  • refs/tags/v1.15.2
  • refs/tags/v1.15.3
  • refs/tags/v1.15.4
  • refs/tags/v1.15.5
  • refs/tags/v1.15.6
  • refs/tags/v1.16.0
  • refs/tags/v1.17.0
  • refs/tags/v1.18.0
  • refs/tags/v1.18.1
  • refs/tags/v1.18.2
  • refs/tags/v1.19.0
  • refs/tags/v1.20.0
  • refs/tags/v1.20.1
  • refs/tags/v1.20.2
  • refs/tags/v1.20.3
  • refs/tags/v1.20.4
  • refs/tags/v1.20.5
  • refs/tags/v1.20.6
  • refs/tags/v1.5.0
  • refs/tags/v1.5.4
  • refs/tags/v1.6.0
  • refs/tags/v1.6.1
  • refs/tags/v1.7.0
  • refs/tags/v1.8.0
  • refs/tags/v1.8.1
  • refs/tags/v1.8.2
  • refs/tags/v1.9.0
  • refs/tags/v1.9.1
  • refs/tags/v1.9.2
  • throttle
  • tollboth
  • v1.0.0
  • v1.1.0
  • v1.1.1
  • v1.1.2
  • v1.1.3
  • v1.1.4
  • v1.1.5
  • v1.1.6
  • v1.2.0
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.4.0
  • v1.4.1

22 Dec 2025 09:46PM UTC coverage: 87.976%. Remained the same
20444949367

push

github

web-flow
make RealIP middleware compatible with Cloudflare/CDN setups (#41)

change header priority to: X-Real-IP → CF-Connecting-IP → X-Forwarded-For (leftmost) → RemoteAddr. only accept public IPs from headers, skip private/loopback/link-local. this fixes issue where Cloudflare edge server IPs were returned instead of actual client IPs.

Related to #40

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

739 of 840 relevant lines covered (87.98%)

70.32 hits per line

Relevant lines Covered
Build:
Build:
840 RELEVANT LINES 739 COVERED LINES
70.32 HITS PER LINE
Source Files on master
  • Tree
  • List 18
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20444949367 refs/tags/v1.20.6 make RealIP middleware compatible with Cloudflare/CDN setups (#41) change header priority to: X-Real-IP → CF-Connecting-IP → X-Forwarded-For (leftmost) → RemoteAddr. only accept public IPs from headers, skip private/loopback/link-local. this fixe... push 22 Dec 2025 09:54PM UTC web-flow github
87.98
20444828212 master make RealIP middleware compatible with Cloudflare/CDN setups (#41) change header priority to: X-Real-IP → CF-Connecting-IP → X-Forwarded-For (leftmost) → RemoteAddr. only accept public IPs from headers, skip private/loopback/link-local. this fixe... push 22 Dec 2025 09:47PM UTC web-flow github
87.98
20444653006 realip-cdn-support make RealIP middleware compatible with Cloudflare/CDN setups change header priority to: X-Real-IP → CF-Connecting-IP → X-Forwarded-For (leftmost) → RemoteAddr. only accept public IPs from headers, skip private/loopback/link-local. this fixes issu... Pull #41 22 Dec 2025 09:38PM UTC umputun github
87.98
20278713022 refs/tags/v1.20.5 fix Content-Type header being ignored when WriteHeader called before RenderJSON Replace WriteHeader + RenderJSON pattern with EncodeJSON which sets Content-Type header before calling WriteHeader. Fixes #38. push 16 Dec 2025 06:35PM UTC umputun github
87.98
20278657700 master fix Content-Type header being ignored when WriteHeader called before RenderJSON Replace WriteHeader + RenderJSON pattern with EncodeJSON which sets Content-Type header before calling WriteHeader. Fixes #38. push 16 Dec 2025 06:32PM UTC umputun github
87.98
20277090136 fix-content-type-header fix Content-Type header being ignored when WriteHeader called before RenderJSON Replace WriteHeader + RenderJSON pattern with EncodeJSON which sets Content-Type header before calling WriteHeader. Fixes #38. Pull #39 16 Dec 2025 05:34PM UTC paskal github
87.98
19903558835 master fix CI workflow caching by reordering checkout and setup-go steps (#37) - move checkout step before setup-go to enable proper Go module caching - update actions/checkout to v4 and actions/setup-go to v5 - update golangci-lint-action to v7 with la... push 03 Dec 2025 05:53PM UTC web-flow github
88.05
19903412426 master Merge pull request #36 from go-pkgz/dependabot/go_modules/go_modules-dd7da38a6b Bump golang.org/x/crypto from 0.37.0 to 0.45.0 in the go_modules group across 1 directory push 03 Dec 2025 05:47PM UTC web-flow github
88.05
19901971166 fix-ci-caching fix CI workflow caching by reordering checkout and setup-go steps - move checkout step before setup-go to enable proper Go module caching - update actions/checkout to v4 and actions/setup-go to v5 - update golangci-lint-action to v7 with latest v... Pull #37 03 Dec 2025 04:57PM UTC paskal github
88.05
19901972172 fix-ci-caching fix CI workflow caching by reordering checkout and setup-go steps - move checkout step before setup-go to enable proper Go module caching - update actions/checkout to v4 and actions/setup-go to v5 - update golangci-lint-action to v7 with latest v... Pull #37 03 Dec 2025 04:57PM UTC paskal github pending completion  
See All Builds (267)
  • Repo on GitHub
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