configuration

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConcurrency    = 5
	DefaultDepth          = 1
	DefaultThreads        = 20
	DefaultMaxRandomDelay = 60
	DefaultTimeout        = 10
	VERSION               = "v1.3.0"
)

Variables

View Source
var (
 _                                   _ _____      
| |__   __ _  ___ _ __ __ ___      _| |___ / _ __ 
| '_ \ / _`+"`"+` |/ __| '__/ _`+"`"+` \ \ /\ / / | |_ \| '__|
| | | | (_| | (__| | | (_| |\ V  V /| |___) | |   
|_| |_|\__, |\___|_|  \__,_| \_/\_/ |_|____/|_| %s
          |_|
`).Bold(), aurora.BrightRed(VERSION).Bold())
)

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	AllowedDomains    []string
	Concurrency       int
	Cookie            string
	Debug             bool
	Delay             int
	Depth             int
	Headers           string
	Headless          bool
	IncludeSubdomains bool
	MaxRandomDelay    int // seconds
	Proxy             string
	Render            bool
	RenderTimeout     int // seconds
	Threads           int
	Timeout           int // seconds
	UserAgent         string
}

func (*Configuration) Validate

func (configuration *Configuration) Validate() (err error)

Jump to

Keyboard shortcuts

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