2017 © Pedro Peláez
 

project geoip

geip ip rpc service

image

wfxiang08/geoip

geip ip rpc service

  • Wednesday, October 18, 2017
  • by wfxiang08
  • Repository
  • 1 Watchers
  • 0 Stars
  • 97 Installations
  • Go
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

geoip rpc

  • 基于GeoIP2-City.mmdb实现从ip到geo信息的映射
  • 服务器采用golang开发,并且通过rpc对外提供服务

Geoip服务运行:

  • cd geoip/src
  • source start_env.sh
  • glide install
  • go build cmd/service_geoip.go
  • 运行:
    • 配合rpc_proxy框架运行,会自动将服务注册到zk中; 为长连接模式下的请求而优化
      • ./service_geoip -c config-service.ini
    • 独立运行,不依赖zookeeper
      • ./service_geoip -c config-standalone.ini
  • Php版本的Client:
    • cd geoip
    • composer install
    • php test_rpc_client.php
    • 注意: autoload.php的使用

发布

  • https://packagist.org/packages/wfxiang08/geoip
  • git tag -a 0.0.1-stable -m"添加新功能"
  • git push origin 0.0.2-stable
  • git push origin :0.0.1-stable 删除旧的版本
  • 在 https://packagist.org/packages/wfxiang08/geoip 上面更新

The Versions

18/10 2017

dev-master

9999999-dev https://github.com/wfxiang08/geoip.git

geip ip rpc service

  Sources   Download

BSD-3-Clause

The Requires

 

framework rpc thrift

09/10 2017

0.0.7-stable

0.0.7.0 https://github.com/wfxiang08/geoip.git

geip ip rpc service

  Sources   Download

BSD-3-Clause

The Requires

 

framework rpc thrift

08/09 2017

0.0.5-stable

0.0.5.0 https://github.com/wfxiang08/geoip.git

geip ip rpc service

  Sources   Download

BSD-3-Clause

The Requires

 

framework rpc thrift

18/07 2017

0.0.4-stable

0.0.4.0 https://github.com/wfxiang08/geoip.git

geip ip rpc service

  Sources   Download

BSD-3-Clause

The Requires

 

framework rpc thrift