【文件属性】:
文件名称:freegeoip-java-client
文件大小:13KB
文件格式:ZIP
更新时间:2021-06-01 13:45:25
Java
# java客户端
### 用法#### 限速客户端
final int maxRequestsPerSecond = 1 ;
final FreeGeoIP freegeoip = new FreeGeoIPClient (maxRequestsPerSecond);
final GeoIP myGeoIp = freegeoip . getGeoIP();
final Coordinate myCoordinates = myGeoIp . getCoordinates();
...
#### 负载平衡客户端
final String hostPorts = " host1:port1,host2:port2,host3:port3 " ;
final LoadBalancedFreeGeoIPClient freegeoip = LoadBalancedFreeGeoIP
【文件预览】:
freegeoip-java-client-master
----.travis.yml(226B)
----gradle.properties(25B)
----LICENSE(11KB)
----src()
--------main()
----.gitignore(55B)
----README.md(1KB)
----settings.gradle(43B)
----build.gradle(2KB)