查询ip的服务
依赖 go get github.com/astaxie/beego go get github.com/yinheli/qqwry go get github.com/beego/bee
安装 go get github.com/yy584089958/ip ./ip
- curl http://ip.opdays.com 返回json
- curl http://ip.opdays.com?ip=8.8.8.8 返回json
查询ip的服务
依赖 go get github.com/astaxie/beego go get github.com/yinheli/qqwry go get github.com/beego/bee
安装 go get github.com/yy584089958/ip ./ip