client

package
v0.0.0-...-f1df9ad Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPClient

func NewHTTPClient(rl *ratelimit.RateLimiter) *req.Client

Types

type DomainFetcher

type DomainFetcher interface {
	FetchDomains(ctx context.Context, domain string) ([]string, error)
}

type DomainFetcherOptions

type DomainFetcherOptions struct {
	OnlyUnique     bool
	OnlySubdomains bool
}

type HTTPError

type HTTPError struct {
	Source     string
	StatusCode int
}

func NewHTTPError

func NewHTTPError(source string, statusCode int) HTTPError

func (HTTPError) Error

func (e HTTPError) Error() string

Jump to

Keyboard shortcuts

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