Commit Graph

274 Commits

Author SHA1 Message Date
Martin Polden
bd8b1c7b97 cache: Fix memory leak
Slices never shrink.
2020-09-07 22:40:06 +02:00
Martin Polden
971c0e11f4 cache: Copy values 2020-09-05 22:07:57 +02:00
Martin Polden
6878f54585 http: Add support for profiling 2020-09-05 12:21:02 +02:00
Martin Polden
fed1ffaf81 index: Remove duplicated info 2020-09-05 11:46:23 +02:00
Martin Polden
0caa5873b9 cmd: Remove go-flags 2020-09-05 11:41:18 +02:00
Martin Polden
702c1f1e23 build: Remove Heroku config 2020-08-23 17:22:28 +02:00
Martin Polden
11ad75c2d2 build: Add cross-compile target 2020-08-23 17:22:28 +02:00
Martin Polden
fe68795a50
Merge pull request #102 from CosmicToast/httpie-go
add cli detection for httpie-go
2020-07-24 09:43:39 +02:00
Chloe Kudryavtsev
7ad9af3b15 add cli detection for httpie-go 2020-07-23 18:41:07 -04:00
Maxim Baz
eb6d590990
index.html: move info about ?=ip query param to a central place 2020-07-09 21:37:04 +02:00
Vincent Batts
edbb0b6433
Support getting information about another IP (#94)
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2020-07-09 21:35:26 +02:00
Steven Honson
5377bffa96
Use http:// with fetch example (#99)
http:// is one letter shorter, more memorable and works even when echoip is hosted only via http
2020-06-15 23:24:37 +02:00
Maxim Baz
bcb1b1106e
Enable experimental flag for docker-ce 2020-06-15 23:03:10 +02:00
Maxim Baz
dc50a4c58f
Use another way to get latest docker on Travis 2020-06-15 22:45:07 +02:00
Maxim Baz
430d0dbf73
Update Travis to newer Ubuntu to (hopefully) get docker v19 2020-06-15 22:40:09 +02:00
Maxim Baz
767b032f4a
Make sure Travis is using latest docker version
https://docs.travis-ci.com/user/docker/#installing-a-newer-docker-version
2020-06-15 22:31:07 +02:00
Maka0
cd07ed644f
Updated Makefile to build multi-arch containers (#93)
Co-authored-by: Maka0 <bas@oddens.net>
2020-06-15 22:20:59 +02:00
Martin Polden
ab71fac9e9
Merge pull request #100 from snh/patch-2
Include a link to bat
2020-06-15 19:59:06 +02:00
Steven Honson
8acb3b5dd0
Include a link to bat
Indlude a link to bat, since an example is provided for it.
2020-06-15 15:22:11 +10:00
Richard Tweed
d576730d08
Do not cache user agent (#98) 2020-06-07 23:16:35 +02:00
Martin Polden
1f140df49f
Merge pull request #95 from craSH/patch-1
Update README.md to include -C/--cache-size
2020-05-17 09:45:52 +02:00
Ian Gallagher
1647debbcf
Update README.md to include -C/--cache-size
This updates the README's command help output to match the current version (it was missing the new cache feature options)
2020-05-16 16:31:13 -07:00
dshelikhov
226209d579
Add additional location fields (#84) 2020-05-10 14:23:50 +02:00
Martin Polden
2fe2f078e2
Merge pull request #89 from SuperSandro2000/docker-var
Allow overriding docker command
2020-04-08 12:06:19 +02:00
Sandro Jäckel
5fcd1740e7
Allow overriding docker command
with eg. sudo docker or podman
2020-04-08 05:06:14 +02:00
Martin Polden
2b0842de3f
Update copyright year 2020-04-07 17:59:23 +02:00
Martin Polden
ce031f017d
Merge pull request #87 from SuperSandro2000/override-image-name
Allow overriding image name
2020-04-07 17:49:25 +02:00
Sandro Jäckel
8ad1d73d8c
Allow overriding image name 2020-04-07 04:23:06 +02:00
Martin Polden
e67f493f51 Bump geoip2 2019-12-25 21:23:46 +01:00
Martin Polden
78116f69ad Implement response cache 2019-12-25 21:04:26 +01:00
Martin Polden
66719b9932 Download GeoIP databases on startup 2019-12-25 19:41:35 +01:00
Martin Polden
4974f9387b Require license key for GeoIP download
Fixes #72.
2019-12-24 17:15:45 +01:00
Willy Hsiao
1d478b5db3 Created a dark theme for index.html (#71) 2019-11-23 10:45:48 +01:00
Martin Polden
c821c5c32a Use Go 1.13 in Docker build 2019-10-18 18:12:26 +02:00
Martin Polden
4add220bfd Use Go 1.13 on Heroku 2019-10-18 18:12:26 +02:00
Martin Polden
c113173660 Remove unnecessary target 2019-10-18 18:12:26 +02:00
Martin Polden
95380233d8
Merge pull request #70 from kevinschoon/useragent
return parsed and raw user agent
2019-10-18 18:03:37 +02:00
Kevin
155c1a5afe return parsed and raw user agent 2019-07-13 22:50:31 +00:00
Sam B
fb5fac92d2 Add Mikrotik as CLI client (#69) 2019-07-12 16:00:38 +02:00
Martin Polden
4ce6452332
Fix template 2019-07-05 16:17:34 +02:00
Niklas
7fbc2e1b9f ASN database, part 2 (#67)
ASN lookup
2019-07-05 15:01:45 +02:00
Martin Polden
5a28ed6bf5 Add data attribution 2019-06-26 20:22:59 +02:00
Martin Polden
6bfe773aae Bump pure 2019-06-26 20:03:56 +02:00
Martin Polden
27fa828efb Remove unnecessary option 2019-04-27 10:23:22 +02:00
Martin Polden
3a91baab21 Build without cgo 2019-03-29 20:38:43 +01:00
Martin Polden
99f9556173 Re-use Dockerfile when building on Travis 2019-03-16 18:08:10 +01:00
Martin Polden
fd7e13c98e Push to Docker Hub from Travis 2019-03-16 15:14:32 +01:00
Martin Polden
c9fe2919e4 Bump Go version 2019-03-16 14:26:32 +01:00
Martin Polden
58fd8a66fe Fix invalid port response
Closes #64
2019-01-16 22:16:05 +01:00
Christian Korneck
b4b6207671 change highest allowed tcp port to 65535 2019-01-16 22:14:42 +01:00