class Myip

Defined in:

myip.cr
myip/version.cr

Constant Summary

CONNECT_TIMEOUT = 5.seconds
Log = ::Log.for(self)
READ_TIMEOUT = 8.seconds
VERSION = {{ (`shards version \"/srv/crystaldoc.info/github-crystal-china-myip-v0.6.0/src/myip\"`).chomp.stringify }}

Instance Method Summary

Instance Method Detail

def chan : Channel({String, String?}) #

[View source]
def chan_send_count : Int32 #

[View source]
def chan_send_count=(chan_send_count : Int32) #

[View source]
def error_chan : Channel(String) #

[View source]
def ip_from_akamai #

[View source]
def ip_from_aws #

[View source]
def ip_from_cf #

[View source]
def ip_from_dyndns #

[View source]
def ip_from_httpbin #

[View source]
def ip_from_icanhazip #

[View source]
def ip_from_ident #

[View source]
def ip_from_ifconfig_co #

[View source]
def ip_from_ifconfig_io #

[View source]
def ip_from_ifconfig_me #

[View source]
def ip_from_ip111 #

[View source]
def ip_from_ip138 #

[View source]
def ip_from_ip_sb #

[View source]
def ip_from_ipify(ip_version : Int32 = 4) #

[View source]
def process #

[View source]