-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from BenB196/staging
Staging to Master
- Loading branch information
Showing
92 changed files
with
10,787 additions
and
1,643 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.1.1 | ||
0.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
}, | ||
"port": 8080, | ||
"apiKey": "", | ||
"debugging": false, | ||
"prometheus": { | ||
"enabled": false | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package main | ||
|
||
type EcsLocation struct { | ||
Status string `json:"status,omitempty"` | ||
Message string `json:"message,omitempty"` | ||
Continent string `json:"continent,omitempty"` | ||
ContinentCode string `json:"continent_iso_code,omitempty"` | ||
Country string `json:"country,omitempty"` | ||
CountryCode string `json:"country_iso_code,omitempty"` | ||
Region string `json:"region_iso_code,omitempty"` | ||
RegionName string `json:"region_name,omitempty"` | ||
City string `json:"city_name,omitempty"` | ||
District string `json:"district,omitempty"` | ||
ZIP string `json:"postal_code,omitempty"` | ||
Lat *float32 `json:"lat,omitempty"` | ||
Lon *float32 `json:"lon,omitempty"` | ||
Timezone string `json:"timezone,omitempty"` | ||
Currency string `json:"currency,omitempty"` | ||
ISP string `json:"isp,omitempty"` | ||
Org string `json:"org,omitempty"` | ||
AS string `json:"as,omitempty"` | ||
ASName string `json:"asname,omitempty"` | ||
Reverse string `json:"reverse,omitempty"` | ||
Mobile *bool `json:"mobile,omitempty"` | ||
Proxy *bool `json:"proxy,omitempty"` | ||
Hosting *bool `json:"hosting,omitempty"` | ||
Query string `json:"query,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
module github.com/BenB196/ip-api-proxy | ||
|
||
go 1.13.5 | ||
go 1.14 | ||
|
||
require ( | ||
github.com/BenB196/ip-api-go-pkg v0.0.7 | ||
github.com/VictoriaMetrics/fastcache v1.5.4 | ||
github.com/prometheus/client_golang v1.1.0 | ||
github.com/BenB196/ip-api-go-pkg v0.0.8 | ||
github.com/VictoriaMetrics/fastcache v1.5.7 | ||
github.com/prometheus/client_golang v1.5.0 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.