Documentation
¶
Overview ¶
Package iptoasn is an interface to Team Cymru's IP to ASN mapping service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ASN ¶
type ASN struct { ASNum uint32 `json:"as_num"` Country string `json:"country"` Registry string `json:"registry"` Allocated string `json:"allocated"` ASName string `json:"as_name"` }
ASN holds the description of a BGP ASN.
type IP ¶
type IP struct { ASNum uint32 `json:"as_num"` IP string `json:"ip"` BGPPrefix string `json:"bgp_prefix"` Country string `json:"country"` Registry string `json:"registry"` Allocated string `json:"allocated"` ASName string `json:"as_name"` }
IP holds the BGP origin information about a given IP address.
Click to show internal directories.
Click to hide internal directories.