http

package
v0.0.0-...-efb87f3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTP

type HTTP struct {
	URL            string `json:"url" description:"The URL to request"`
	FollowRedirect bool   `json:"followRedirect" description:"Follow 30x redirects" default:"true"`
	Insecure       bool   `json:"insecure" description:"Ignore SSL errors"`
	IncludeBody    bool   `json:"includeBody" description:"Include body in results"`
	Host           string `json:"host" description:"Host to contact (leave empty to use host derived from URL)"`
	// contains filtered or unexported fields
}

HTTP will request a ressource from a HTTP server.

func (*HTTP) Check

func (h *HTTP) Check(result plugins.AgentResult) error

Check implements plugins.Agent.

Jump to

Keyboard shortcuts

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