Nothing has been indexed for 0.4.6 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.

Installation

# Add this to your shard.yml
dependencies:
  myip:
    github: crystal-china/myip
    version: ~> 0.4.6

Then run:

shards install

shard.yml

No shard.yml has been indexed for 0.4.6. You can read it on the repository.

Dependencies

Unknown: the shard.yml for this version has not been read yet.

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

myip

返回本机的公网 IP 以及访问外网的公网 IP,匿名使用以下服务:

http://www.ip111.cn/ 获取 IP 信息. https://www.ipshudi.com 针对 ip111.cn 获取的 IP 信息,查询更加详细的信息.

此外,也额外访问以下网址获取信息作为补充

http://www.ip138.com 获取国内 IP 信息 https://api.ip.sb/geoip 获取外网的详细 IP 信息

ip111.png

Contributing

  1. Fork it (https://github.com/crystal-china/myip/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors