gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

tlds_pseudo.go (840B)


      1 // Copyright (c) 2015, Daniel Martí <mvdan@mvdan.cc>
      2 // See LICENSE for licensing information
      3 
      4 package xurls
      5 
      6 // PseudoTLDs is a sorted list of some widely used unofficial TLDs.
      7 //
      8 // Sources:
      9 //   - https://en.wikipedia.org/wiki/Pseudo-top-level_domain
     10 //   - https://en.wikipedia.org/wiki/Category:Pseudo-top-level_domains
     11 //   - https://tools.ietf.org/html/draft-grothoff-iesg-special-use-p2p-names-00
     12 //   - https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml
     13 var PseudoTLDs = []string{
     14 	`bit`,       // Namecoin
     15 	`example`,   // Example domain
     16 	`exit`,      // Tor exit node
     17 	`gnu`,       // GNS by public key
     18 	`i2p`,       // I2P network
     19 	`invalid`,   // Invalid domain
     20 	`local`,     // Local network
     21 	`localhost`, // Local network
     22 	`test`,      // Test domain
     23 	`zkey`,      // GNS domain name
     24 }