feat: geo ip.

This commit is contained in:
tx7do
2023-10-19 15:27:32 +08:00
parent 01bdf5cc06
commit 7965576c1c
8 changed files with 73 additions and 34 deletions

View File

@@ -7,14 +7,3 @@ const (
redirectMode2 = 0x02 // RedirectMode2 国家的类型, 指向一个指向
)
//var unCountry = []byte{"未知国家"}
//var unArea = []byte{"未知地区"}
// Result 归属地信息
type Result struct {
IP string `json:"ip"`
Country string `json:"country"`
Area string `json:"area"`
ISP string `json:"isp"`
}