aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/mvdan.cc/xurls/v2/tlds_pseudo.go
blob: 94c67d15b0fa0e5693d1e65191f306999be6362d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) 2015, Daniel Martí <mvdan@mvdan.cc>
// See LICENSE for licensing information

package xurls

// 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
//  * https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml
var PseudoTLDs = []string{
	`bit`,       // Namecoin
	`example`,   // Example domain
	`exit`,      // Tor exit node
	`gnu`,       // GNS by public key
	`i2p`,       // I2P network
	`invalid`,   // Invalid domain
	`local`,     // Local network
	`localhost`, // Local network
	`test`,      // Test domain
	`zkey`,      // GNS domain name
}