gin

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	XUserAgentHeader         = "X-User-Agent"
	UserAgentHeader          = "User-Agent"
	UserAgentForwardedHeader = "X-Forwarded-Via"
	OriginHeader             = "Origin"
)

Variables

This section is empty.

Functions

func GetOrigin

func GetOrigin(ctx *gin.Context) string

func GetUserAgent

func GetUserAgent(ctx *gin.Context) string

func ParamInt

func ParamInt(ctx *gin.Context, key string) int

func QueryInt

func QueryInt(ctx *gin.Context, key string) int

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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