nethttp
Golang Middleware to handle X-Forwarded-For Header
Install
- All systems
-
curl cmd.cat/nethttp.sh
- Debian
-
apt-get install golang-github-sebest-xff - Ubuntu
-
apt-get install golang-github-sebest-xff - Kali Linux
-
apt-get install golang-github-sebest-xff - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install golang-github-sebest-xff
golang-github-sebest-xff
Golang Middleware to handle X-Forwarded-For Header
Package xff is a net/http middleware/handler to parse Forwarded HTTP Extension in Golang. Parse function parses the value of the X-Forwarded-For Header and returns the IP address. Options is a configuration container, provided by this package, to setup the XFF middleware.