xioc

package
v1.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KnownTLDs = map[string]bool{}/* 1514 elements not displayed */

KnownTLDs is a set of all known TLDs

Functions

func ExtractDomains

func ExtractDomains(text string) []string

ExtractDomains extracts domain names from an input string

func ExtractEmails

func ExtractEmails(text string) []string

ExtractEmails extracts email addresses from an input string

func ExtractIPv4s

func ExtractIPv4s(text string) []string

ExtractIPv4s extracts IPv4 addresses from an input string

func ExtractIPv6s

func ExtractIPv6s(text string) []string

ExtractIPv6s extracts IPv6 addresses from an input string

func ExtractMD5s

func ExtractMD5s(text string) []string

ExtractMD5s extracts md5 hex strings from an input string

func ExtractSHA1s

func ExtractSHA1s(text string) []string

ExtractSHA1s extracts sha1 hex strings from an input string

func ExtractSHA256s

func ExtractSHA256s(text string) []string

ExtractSHA256s extracts sha256 hex strings from an input string

func ExtractURLs

func ExtractURLs(text string) []string

ExtractURLs extracts ftp and http addresses from an input string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL