httpx

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package httpx implements HTTP-level checks: status codes, redirect chains and loops, slow responses, and mixed content.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

type Analyzer struct {
	// SlowThreshold is the response duration above which a page is flagged.
	SlowThreshold time.Duration
}

Analyzer checks HTTP responses and redirects.

func New

func New() *Analyzer

New returns an HTTP analyzer with a 2s slow-response threshold.

func (Analyzer) Analyze

func (a Analyzer) Analyze(_ context.Context, result *crawler.Result) []analyze.Issue

func (Analyzer) Description

func (Analyzer) Description() string

func (Analyzer) Name

func (Analyzer) Name() string

Jump to

Keyboard shortcuts

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