parser

package
v0.0.0-...-1eb3bd2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParsedRequest

type ParsedRequest struct {
	TargetURL string
	Options   options.Options
}

func ParsePath

func ParsePath(path string) (*ParsedRequest, error)

ParsePath parses a path with options before the URL Example: /-method=GET/-insecure=true/https://example.com/api/v1/users Returns the target URL (with path preserved) and parsed options

Jump to

Keyboard shortcuts

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