Logo
Explore Help
Sign In
dcarrillo/whatismyip
1
0
Fork 0
You've already forked whatismyip
mirror of https://github.com/dcarrillo/whatismyip.git synced 2026-05-06 09:10:01 +00:00
Code Issues Projects Releases Wiki Activity
33 Commits 1 Branch 43 Tags
6b7fc0bc6a0ab1913eb03fbb3012becaded462f2
Commit Graph

10 Commits

Author SHA1 Message Date
dcarrillo ca1d002974 Use gin-gonic/contrib/secure instead of deprecated module 2022-05-07 12:51:13 +02:00
dcarrillo 1ee7256506 Remove headers set by a trusted proxy from outputs 2022-05-02 18:07:40 +02:00
dcarrillo 7c70abf07f Add feature to get the right client port when using a trusted proxy 2022-05-02 17:56:57 +02:00
dcarrillo 9070e9a2c2 Use Accept request header instead of user agent to figure out non-browser clients. Funny fact, I borrowed the idea from a fork ('https://github.com/hachmeister/whatismyip/blob/8a3e142cf3ebf54ed3a4b6de2173cc5b13b40e18/router/generic.go#L33') 2022-04-30 17:35:12 +02:00
dcarrillo 2d330a99b7 Add CI and go-report badges. Add comments to make golint happy 2021-11-30 17:49:02 +01:00
dcarrillo 9b10052cd1 refactor on some tests 2021-11-30 16:32:52 +01:00
dcarrillo 2571e22843 Fix format errors and add gofmt and golines to Makefile 2021-11-21 18:23:36 +01:00
dcarrillo 2807e2afc9 Improve client port handling and fix IPv6 client port testing 2021-11-21 12:49:13 +01:00
pando85 1aa59f1b0b Fix long lines (#2)
Using [golines](https://github.com/segmentio/golines):
`golines -w .`
2021-11-18 19:26:53 +01:00
dcarrillo 2fcfa91545 first commit 2021-11-10 20:06:12 +01:00
Powered by Gitea Version: 1.26.1 Page: 54ms Template: 10ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses