Commit Graph

211 Commits

Author SHA1 Message Date
Martin Polden
65d9d8ccf1 Cleanup examples 2016-04-17 11:42:20 +02:00
Martin Polden
8f71576357 Add support for city lookup 2016-04-17 11:28:47 +02:00
Martin Polden
8027c55fdf Refactor lookup methods 2016-04-17 11:16:30 +02:00
Martin Polden
7d23fe9853 Add /json route 2016-04-17 09:31:33 +02:00
Martin Polden
26fdb23f37 Update user agent regexp 2016-04-16 20:18:20 +02:00
Martin Polden
5e2c67573c Remove unused methods 2016-04-16 11:11:19 +02:00
Martin Polden
837a32db56 Use correct method 2016-04-16 10:54:41 +02:00
Martin Polden
7ffaf5e9ac Cleanup 2016-04-16 10:45:43 +02:00
Martin Polden
ed29f49139 Update http command 2016-04-16 10:29:23 +02:00
Martin Polden
a2d26b2f0e Rewrite tests 2016-04-16 10:17:15 +02:00
Martin Polden
c6aad1b5b7 Use responsive grid 2016-04-16 10:17:15 +02:00
Martin Polden
abcae5fc26 Minor style changes 2016-04-16 10:17:15 +02:00
Martin Polden
4664693b0a Close connection when testing port 2016-04-16 09:48:39 +02:00
Martin Polden
55d72fd053 Add country lookup as separate handler 2016-04-16 09:19:26 +02:00
Martin Polden
95b5b76ef7 Only display enabled features on web page 2016-04-15 21:23:03 +02:00
Martin Polden
100131e420 Update readme 2016-04-15 20:57:35 +02:00
Martin Polden
3988df7b6a Update copyright year 2016-04-15 20:56:00 +02:00
Martin Polden
4edbd3cf10 Implement port testing. Fixes #11 2016-04-15 20:52:15 +02:00
Martin Polden
6e09b06e7d Fix test 2016-04-15 20:48:52 +02:00
Martin Polden
67e220501e Change font 2016-04-15 20:22:14 +02:00
Martin Polden
5ad48ad3fa Add support for HTTPie. Fixes #13 2016-04-15 20:19:14 +02:00
Martin Polden
f4420781a2 Refactor 2016-04-15 20:14:16 +02:00
Martin Polden
b156182a80 Rename 2016-04-15 17:59:56 +02:00
Martin Polden
f70690f4b4 Merge pull request #12 from porjo/master
Link to IPv4 page from IPv6 page
2016-03-09 08:34:28 +01:00
Ian Bishop
4cfccfdcaf Include both IPv4 and IPv6 links 2016-03-09 08:55:41 +10:00
Ian Bishop
2b340fc2ec Link to IPv4 page from IPv6 page 2016-03-07 07:03:24 +10:00
Martin Polden
aab394d141 Remove unsupported Go versions from build 2016-03-01 19:19:37 +01:00
Martin Polden
72100d8e48 Merge pull request #10 from rjeczalik/master
api: handle net/http as cli request
2016-02-23 13:50:23 +01:00
Rafal Jeczalik
5cd09f5e9b api: handle net/http as cli request 2016-02-23 12:15:23 +01:00
Martin Polden
16cbfb2504 Build 1.6 2016-02-19 21:57:46 +01:00
Martin Polden
fa32c7ff66 Improve tests
Fixes #8.
2015-09-29 20:39:21 +02:00
Martin Polden
04383146ed Merge pull request #7 from twouters/hostname
add hostname lookup
2015-09-28 13:47:11 +02:00
Thomas Wouters
3d14ea63ba add hostname lookup 2015-09-28 12:47:50 +02:00
Martin Polden
ccd3c7a7bb Readd all handler
Fixes #6.
2015-09-18 17:46:08 +02:00
Martin Polden
255826db99 Improve error handling 2015-09-18 17:36:17 +02:00
Martin Polden
891312f1f8 Return error for unknown header 2015-09-17 22:39:12 +02:00
Martin Polden
ef399116f9 Add target for downloading GeoIP database 2015-09-17 22:25:37 +02:00
Martin Polden
5d4f6b3d3d Make handlers public 2015-09-17 22:16:33 +02:00
Martin Polden
042f0d975f Write response if error occurs 2015-09-17 22:09:50 +02:00
Martin Polden
6ceb6bed87 geoip2 doesn't work on tip 2015-09-17 21:38:28 +02:00
Martin Polden
bad8699949 Use containers when building on Travis 2015-09-17 21:35:38 +02:00
Martin Polden
7986dd9ee2 Add badge 2015-09-17 21:31:14 +02:00
Martin Polden
293969cc21 Add travis config 2015-09-17 21:29:55 +02:00
Martin Polden
566cb26095 Update link 2015-09-17 21:26:29 +02:00
Martin Polden
3babba7881 Update license 2015-09-17 21:18:11 +02:00
Martin Polden
83af3b139c Update readme 2015-09-17 21:18:11 +02:00
Martin Polden
40df3e5a38 Rewrite 2015-09-17 21:18:06 +02:00
Martin Polden
8ac17bf30f Remove unused Vagrant config 2015-09-17 17:02:02 +02:00
Martin Polden
3f9cbe7bed Remove unused Dockerfile 2015-09-17 17:01:45 +02:00
Martin Polden
6dbeb50677 Fall back to registered country 2015-02-28 12:47:44 +01:00