utils

package
v0.0.72 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEntriesFromFiles

func GetEntriesFromFiles(paths []string) ([]string, error)

func GetHeader added in v0.0.65

func GetHeader(r *common.RequestInfo, name string) string

GetHeader is a generic header helper (case‑insensitive)

func GetHeaderValues added in v0.0.65

func GetHeaderValues(r *common.RequestInfo, name string) []string

GetHeaderValues is a generic header helper (case‑insensitive)

func PerformRequestScan added in v0.0.44

func PerformRequestScan(baseURL, path string, method common.HttpMethod, params common.RequestParams, timeout int, followRedirects bool) common.RequestInfo

func SplitTarget added in v0.0.44

func SplitTarget(target string) (string, string, error)

SplitTarget splits a target URL into its base URL and path components.

Types

This section is empty.

Jump to

Keyboard shortcuts

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