request

package
v0.0.0-...-2bcc11b Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kv

type Kv struct {
	Key   string
	Value string
}

type RequestInfo

type RequestInfo struct {
	Host            string
	TlsUsed         bool
	Method          string
	Path            string // URI = Path + QueryArgs
	QueryArgs       string
	Headers         []Kv
	ClientIP        string
	ProxyDetected   bool
	ProxyIP         string
	UserAgentDetect *ghttp.UserAgnetInfo
}

func ParseRequest

func ParseRequest(ctx *fasthttp.RequestCtx) (*RequestInfo, error)

Jump to

Keyboard shortcuts

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