mirror of
https://github.com/Alexey71/opera-proxy.git
synced 2026-05-14 06:30:59 +00:00
seclient: add geolist method
This commit is contained in:
@@ -59,3 +59,15 @@ type SERegisterDeviceResponse struct {
|
||||
Data SERegisterDeviceData `json:"data"`
|
||||
Status SEStatusPair `json:"return_code"`
|
||||
}
|
||||
|
||||
type SEGeoEntry struct {
|
||||
Country string `json:"country"`
|
||||
CountryCode string `json:"country_code"`
|
||||
}
|
||||
|
||||
type SEGeoListResponse struct {
|
||||
Data struct {
|
||||
Geos []SEGeoEntry `json:"geos"`
|
||||
}
|
||||
Status SEStatusPair
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user