searches

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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