seclient: add geolist method

This commit is contained in:
Vladislav Yarmak
2021-03-26 21:52:09 +02:00
parent c465aeeebd
commit 738a5c329b
3 changed files with 65 additions and 7 deletions
+12
View File
@@ -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
}