seclient: add discover method

This commit is contained in:
Vladislav Yarmak
2021-03-26 22:09:37 +02:00
parent 738a5c329b
commit eb97beadca
3 changed files with 67 additions and 3 deletions
+7
View File
@@ -41,4 +41,11 @@ func main() {
log.Fatalln(err)
}
log.Printf("Geo List: %#v", geos)
log.Println("------------ GETTING IP LIST ------------")
ips, err := seclient.Discover(context.TODO(), "\"EU\",,")
if err != nil {
log.Fatalln(err)
}
log.Printf("IP List: %#v", ips)
}