searches

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package searches makes requests to all subdomains received from DNS configs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDNSHandler

func NewDNSHandler() dnsutils.Handler

NewDNSHandler creates a new dns handler that makes requests to all subdomains received from dns configs

func SearchDomains

func SearchDomains(ctx context.Context) []string

SearchDomains returns search domains

func WithSearchDomains

func WithSearchDomains(parent context.Context, domains []string) context.Context

WithSearchDomains wraps 'parent' in a new Context that has search domains

Types

This section is empty.

Jump to

Keyboard shortcuts

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