retryhttpclient

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RedirectClient *retryablehttp.Client
)
View Source
var RegexTitle = regexp.MustCompile(`(?i:)<title>(.*?)</title>`)

Functions

func Get added in v0.1.3

func Get(target string) (result.HostResult, error)

func Init

func Init(options *Options) (err error)

Types

type Options

type Options struct {
	Timeout int
	Retries int
	Proxy   string
}

Jump to

Keyboard shortcuts

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