HoneyMap的hpfeeds-cleint命令行使用方法

作者:糖果

hpfeeds-client是一个Python写的客户端程序。

第一种是在世界地图上,点亮一个点:

hpfeeds-client --host localhost  -p 10000 -i honeymap -s cfdd6a68be69464666ae60b66dae69f6 -c geoloc.events publish "{countrycode:'NA', latitude:37.7749, longitude:-122.4194, city:'San Francisco'}"

另一种是在世界地图上,点亮二个点:

hpfeeds-client --host localhost  -p 10000 -i geoloc -s cfdd6a68be69464666ae60b66dae69f6 -c geoloc.events publish 
'{"countrycode":"NA", "latitude":37.7749, "longitude":-122.4194, "city":"San Francisco","countrycode2":"NA", "latitude2":37.7749, "longitude2":50.4194, "city2":"Bei Jing"}'

糖果

糖果
LUA教程

Apache APISIX在SAE应用市场发布

Apache APISIX在SAE应用市场发布 Continue reading

APISIX后台管理路由创建接口

Published on December 06, 2019

Openresty Nginx Tengine添加动态so库

Published on October 11, 2019