Versions in this module Expand all Collapse all v1 v1.0.3 May 3, 2020 v1.0.2 May 2, 2020 Changes in this version + var ErrParseIP = errors.New("parse ip error") + func IPInfo(https bool) (ipAddr string, err error) + func IPInfoByClient(c *requester.HTTPClient) (ipAddr string, err error) + func IPInfoFromNetease() (ipAddr string, err error) + func IPInfoFromNeteaseByClient(c *requester.HTTPClient) (ipAddr string, err error) + func IPInfoFromTechainBaidu() (ipAddr string, err error) + func IPInfoFromTechainBaiduByClient(c *requester.HTTPClient) (ipAddr string, err error) + type IPResNetease struct + Code int + Message string + Result string