request

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAddressIsNotValid = errors.New("address is not valid")
)

Functions

func IPFromRequest

func IPFromRequest(c *fiber.Ctx) (net.IP, error)

IPFromRequest return ip from request

func IsPrivateAddress

func IsPrivateAddress(address string) (bool, error)

IsPrivateAddress check if IP is local IP

Types

This section is empty.

Jump to

Keyboard shortcuts

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