Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAddressIsNotValid = errors.New("address is not valid")
Functions ¶
func IPFromRequest ¶
IPFromRequest extracts the real client IP from a Fiber request.
func IPStringFromRequest ¶ added in v1.1.0
IPStringFromRequest returns the request IP as a string.
func IsPrivateAddress ¶
IsPrivateAddress checks whether address is loopback, private, or link-local.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.