Documentation ¶
Index ¶
- Variables
- func ExtractDomains(text string) []string
- func ExtractEmails(text string) []string
- func ExtractIPv4s(text string) []string
- func ExtractIPv6s(text string) []string
- func ExtractMD5s(text string) []string
- func ExtractSHA1s(text string) []string
- func ExtractSHA256s(text string) []string
- func ExtractURLs(text string) []string
Constants ¶
This section is empty.
Variables ¶
View Source
var KnownTLDs = map[string]bool{}/* 1535 elements not displayed */
KnownTLDs is a set of all known TLDs
Functions ¶
func ExtractDomains ¶
ExtractDomains extracts domain names from an input string
func ExtractEmails ¶
ExtractEmails extracts email addresses from an input string
func ExtractIPv4s ¶
ExtractIPv4s extracts IPv4 addresses from an input string
func ExtractIPv6s ¶
ExtractIPv6s extracts IPv6 addresses from an input string
func ExtractMD5s ¶
ExtractMD5s extracts md5 hex strings from an input string
func ExtractSHA1s ¶
ExtractSHA1s extracts sha1 hex strings from an input string
func ExtractSHA256s ¶
ExtractSHA256s extracts sha256 hex strings from an input string
func ExtractURLs ¶
ExtractURLs extracts ftp and http addresses from an input string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.