Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
go-pkgz
/
rest
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
7
Star
63
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Branch selector
master
User selector
All users
All time
Commit History
Commits on Jan 8, 2026
docs: add documentation for new middlewares
Show description for 4e8fe40
umputun
committed
4e8fe40
Copy full SHA for 4e8fe40
feat(rewrite): add CleanPath and StripSlashes middlewares
Show description for 090feef
umputun
committed
090feef
Copy full SHA for 090feef
feat(csrf): add CSRF protection middleware
Show description for f884b91
umputun
committed
f884b91
Copy full SHA for f884b91
feat(cors): add CORS middleware
Show description for 4bc2958
umputun
committed
4bc2958
Copy full SHA for 4bc2958
feat(secure): add security headers middleware
Show description for 5916b1c
umputun
committed
5916b1c
Copy full SHA for 5916b1c
improve test coverage and fix code review issues
Show description for 321d021
umputun
committed
321d021
Copy full SHA for 321d021
add HEAD method support to Ping middleware, modernize code
Show description for 0c9258a
umputun
committed
0c9258a
Copy full SHA for 0c9258a
Commits on Dec 22, 2025
make RealIP middleware compatible with Cloudflare/CDN setups (#41)
Show description for b8cec47
umputun
authored
b8cec47
Copy full SHA for b8cec47
Commits on Dec 16, 2025
fix Content-Type header being ignored when WriteHeader called before RenderJSON
Show description for 6e22daa
paskal
authored and
umputun
committed
6e22daa
Copy full SHA for 6e22daa
Commits on Dec 3, 2025
fix CI workflow caching by reordering checkout and setup-go steps (#37)
Show description for 708d84c
paskal
authored
708d84c
Copy full SHA for 708d84c
Merge pull request #36 from go-pkgz/dependabot/go_modules/go_modules-dd7da38a6b
Show description for 9e93b83
umputun
authored
9e93b83
Copy full SHA for 9e93b83
Commits on Nov 20, 2025
Bump golang.org/x/crypto in the go_modules group across 1 directory
Show description for 0979c6e
dependabot[bot]
authored
0979c6e
Copy full SHA for 0979c6e
Commits on Apr 15, 2025
Merge pull request #35 from go-pkgz/dependabot/go_modules/go_modules-ee7f9554a6
umputun
authored
c1e001f
Copy full SHA for c1e001f
Updated modules, fix go version in ci.yml
paskal
committed
004df78
Copy full SHA for 004df78
Bump golang.org/x/crypto in the go_modules group across 1 directory
Show description for 9d4d9cc
dependabot[bot]
authored and
paskal
committed
9d4d9cc
Copy full SHA for 9d4d9cc
Commits on Mar 14, 2025
fix RemoteAddr parsing for ips without port
umputun
committed
ccf7a77
Copy full SHA for ccf7a77
Commits on Dec 21, 2024
revert 1.23 requirement, make it more relaxed 1.21
umputun
committed
bb0c485
Copy full SHA for bb0c485
Commits on Dec 17, 2024
add missing CODEOWNERS files
umputun
committed
18fc762
Copy full SHA for 18fc762
Bump golang.org/x/crypto from 0.30.0 to 0.31.0 in the go_modules group
Show description for 4afec3f
dependabot[bot]
authored and
paskal
committed
4afec3f
Copy full SHA for 4afec3f
Commits on Dec 9, 2024
add BasicAuthWithBcryptHashAndPrompt middleware
umputun
committed
7ecfa2e
Copy full SHA for 7ecfa2e
Merge pull request #32 from go-pkgz/hashed-auth
Show description for 3c3ee31
umputun
authored
3c3ee31
Copy full SHA for 3c3ee31
switch to go 1.23
umputun
committed
80d630d
Copy full SHA for 80d630d
fix goverals install
umputun
committed
9868376
Copy full SHA for 9868376
lint: update linter config and address minor warns
umputun
committed
c3951be
Copy full SHA for c3951be
make listing test less sensitive to meta presence
umputun
committed
a080755
Copy full SHA for a080755
switch ci to go 1.22
umputun
committed
b8f8a98
Copy full SHA for b8f8a98
switch to go 1.22 and update failed edge cases for benchmarks and file server listing
umputun
committed
99aa0b7
Copy full SHA for 99aa0b7
add middlewares for auth with hashes
umputun
committed
9738b8e
Copy full SHA for 9738b8e
Commits on Aug 4, 2024
add IPv4 link-local address to private ranges detector, update list
Show description for fbfa8cb
paskal
authored and
umputun
committed
fbfa8cb
Copy full SHA for fbfa8cb
fix golangci-lint reported errors, update configuration
paskal
authored and
umputun
committed
e20f7ef
Copy full SHA for e20f7ef
Commits on Mar 4, 2024
Update middleware_test.go
Show description for 8e030ce
RupeshHacker
authored and
umputun
committed
8e030ce
Copy full SHA for 8e030ce
Update middleware.go
Show description for e07a582
RupeshHacker
authored and
umputun
committed
e07a582
Copy full SHA for e07a582
Commits on Feb 24, 2024
Fixed broken link
Show description for a606a43
doichev-kostia
authored and
umputun
committed
a606a43
Copy full SHA for a606a43
Commits on Feb 9, 2024
add decode/encode to docs
umputun
committed
8ebf860
Copy full SHA for 8ebf860
lint: a lot of small "unused param" fixes, mostly in tests
umputun
committed
be89668
Copy full SHA for be89668
Previous
Next
You can’t perform that action at this time.