Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Relaxed matches all the urls it can find Relaxed = regexp.MustCompile(relaxed) // Strict only matches urls with a scheme to avoid false positives Strict = regexp.MustCompile(strict) )
View Source
var PseudoTLDs = []string{
`bit`,
`exit`,
`gnu`,
`i2p`,
`local`,
`onion`,
`zkey`,
}
PseudoTLDs is a sorted list of some widely used unofficial TLDs
Sources:
- https://en.wikipedia.org/wiki/Pseudo-top-level_domain
- https://en.wikipedia.org/wiki/Category:Pseudo-top-level_domains
- https://tools.ietf.org/html/draft-grothoff-iesg-special-use-p2p-names-00
View Source
var TLDs = []string{}/* 1246 elements not displayed */
TLDs is a sorted list of all public top-level domains
Sources:
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.