http

package
v0.44.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package http provides a way to analyze with http requests. This allows you to do smoke tests, load tests and so on, at your leisure.

Index

Constants

View Source
const (
	ProviderType = "HTTP"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func NewProvider

func NewProvider(timeout time.Duration) *Provider

func (*Provider) Run

func (p *Provider) Run(ctx context.Context, cfg *config.AnalysisHTTP) (bool, string, error)

Run sends an HTTP request and then evaluate whether the response is expected one.

func (*Provider) Type

func (p *Provider) Type() string

Jump to

Keyboard shortcuts

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