Documentation ¶
Overview ¶
网络相关的封装放本文件
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Eth ¶
type NetAddr ¶
type NetAddr struct { Addr string `json:"addr"` // 地址 City string `json:"city"` // 城市 CityCode string `json:"cityCode"` // 城市邮政编码 Err string `json:"err"` // 如果有错误的话提示 IP string `json:"ip"` // 公网ip Pro string `json:"pro"` // 省 ProCode string `json:"proCode"` // 省邮政编码 Region string `json:"region"` // RegionCode string `json:"regionCode"` // RegionNames string `json:"regionNames"` // }
Click to show internal directories.
Click to hide internal directories.