config

package
v1.0.59 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Flags Flags
}
var App *Application

type Flags

type Flags struct {
	UserAgent           string
	Job                 string
	Workers             int
	MaxConcurrentAssets int
	MaxHops             uint
	Headless            bool
	Seencheck           bool
	JSON                bool
	LiveStats           bool
	Debug               bool

	DisabledHTMLTags               cli.StringSlice
	ExcludedHosts                  cli.StringSlice
	DomainsCrawl                   bool
	CaptureAlternatePages          bool
	HTTPTimeout                    int
	MaxRedirect                    int
	MaxRetry                       int
	MaxConcurrentRequestsPerDomain int
	RateLimitDelay                 int

	Proxy       string
	BypassProxy cli.StringSlice

	CookieFile  string
	KeepCookies bool

	API              bool
	APIPort          string
	Prometheus       bool
	PrometheusPrefix string

	WARCPrefix     string
	WARCOperator   string
	WARCPoolSize   int
	WARCDedupSize  int
	WARCFullOnDisk bool
	WARCTempDir    string

	UseHQ            bool
	HQBatchSize      int64
	HQAddress        string
	HQProject        string
	HQKey            string
	HQSecret         string
	HQStrategy       string
	HQContinuousPull bool

	CDXDedupeServer      string
	DisableLocalDedupe   bool
	DisableAssetsCapture bool
	CertValidation       bool

	CloudflareStream bool
	ElasticSearchURL string
	ExcludedStrings  cli.StringSlice
}

Jump to

Keyboard shortcuts

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