proxyresponse

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHTMLParseConfig

func GetHTMLParseConfig() (int, string)

func IsProxyHandlingValid

func IsProxyHandlingValid(statusCode int, url string)

func ParseHTML

func ParseHTML(body io.ReadCloser, depth int, tag string) []string

Types

type Config

type Config struct {
	HTMLParsing struct {
		Depth int    `json:"depth"`
		Tag   string `json:"tag"`
	} `json:"html_parsing"`
}

Jump to

Keyboard shortcuts

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