Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
IPInfos []IPInfo
)
Functions ¶
func RandomIpv4Int ¶
func RandomIpv4Int() uint32
Types ¶
type IPInfo ¶
type IPInfo struct { IP string `json:"ip"` Type IPType `json:"type"` Region LocationInfo `json:"region"` Zone LocationInfo `json:"zone"` Campus LocationInfo `json:"campus"` }
IPInfo ip info
type LocationInfo ¶
type LocationInfo struct { Name string `json:"name"` Metadata map[string]interface{} `json:"metadata"` }
LocationInfo
Click to show internal directories.
Click to hide internal directories.