ginutils

package
v0.6.47 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientIPFromXFF

func GetClientIPFromXFF(c *gin.Context) string

GetClientIPFromXFF returns the client ID using x-forwarded-for headers before relying on c.ClientIP(). This assumes use of a trusted proxy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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