Documentation ¶
Index ¶
- Constants
- func GetHTTPRequest(url string, headers map[string]string) *fasthttp.Response
- func MergeChannels(channels ...<-chan Result) <-chan Result
- func PostHTTPRequest(url string, data []byte) *fasthttp.Response
- func PrintResults(json bool, results <-chan Result)
- func RemoveDuplicateStr(strSlice []string) []string
- func RemoveDuplicates(input <-chan Result) <-chan Result
- func ShowBanner()
- func WriteJSON(results <-chan Result)
- type Options
- type Result
Constants ¶
View Source
const Version = `0.0.1`
Version is the current version of dnsx
Variables ¶
This section is empty.
Functions ¶
func GetHTTPRequest ¶
GET HTTP wrapper
func MergeChannels ¶
Merge multiple channels from type Result
func PostHTTPRequest ¶
POST HTTP wrapper
func PrintResults ¶
Print results as JSON or plain
func RemoveDuplicateStr ¶
Remove duplicate strings
func RemoveDuplicates ¶
Remove duplicates from a channel and return a channel from type Result
Types ¶
type Options ¶
type Options struct { SearchString string // UA id is the word to find for Silent bool // Silent suppresses any extra text and only writes the output to screen Stdin bool // Stdin specifies whether stdin input was given to the process Version bool // Version specifies if we should just show version and exit JSON bool // JSON output Output io.Writer }
Options
func ParseOptions ¶
func ParseOptions() *Options
ParseOptions parses the command line flags provided by a user
Click to show internal directories.
Click to hide internal directories.