Documentation
¶
Overview ¶
Package rdap is the built-in whois plugin. It asks an RDAP server (RFC 9082/9083) about an IP prefix or an ASN for the troubleshooting API. It only reads: it never announces routes or changes controller state.
Index ¶
Constants ¶
View Source
const ( DefaultBaseURL = "https://rdap.org" DefaultTimeout = 5 * time.Second DefaultMaxBytes = 256 << 10 )
Defaults.
View Source
const TypeName = "rdap"
TypeName is the config type.
Variables ¶
This section is empty.
Functions ¶
func ParseQuery ¶
ParseQuery classifies a whois query. It returns the RDAP path segment ("ip/<prefix>" or "autnum/<n>") and the kind.
Types ¶
Click to show internal directories.
Click to hide internal directories.