httpcheckw

package
v0.0.0-...-5c7ffcf Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(task *collecttask.CollectTask) (api.Input, error)

Types

type Config

type Config struct {
	URL            string   `json:"url"`
	Schema         string   `json:"schema"`
	Port           int      `json:"port"`
	Path           string   `json:"path"`
	Timeout        int      `json:"timeout"`
	Method         string   `json:"method"`
	SuccessCodes   []int    `json:"successCodes"`
	SuccessRegexps []string `json:"successRegexps"`
	BodyLimit      int64    `json:"bodyLimit"`
	NetworkMode    string   `json:"networkMode"`
}

type Input

type Input struct{}

Jump to

Keyboard shortcuts

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