net

package
v0.0.0-...-8691f5a Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAddrPtr

func ParseAddrPtr(s string) *netip.Addr

ParseAddrPtr parses an IP address string and returns a pointer to netip.Addr. Returns nil if the string is empty or invalid.

func RealIP

func RealIP(c fiber.Ctx) string

RealIP returns the real client IP from the request. It checks Cloudflare and proxy headers before falling back to the remote address.

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