web

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Probe added in v0.9.0

func Probe(options Request) (status int, body []byte, err error)

Probe ...

Types

type Crawler

type Crawler interface {
	Probe(Request) (int, []byte, error)
}

func New added in v0.9.0

func New() Crawler

type Request

type Request struct {
	Method  string
	Url     string
	Body    []byte
	Headers []map[string]string
	Timeout time.Duration
}

Request ...

Jump to

Keyboard shortcuts

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