realip

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 4 Imported by: 0

README

Real IP

Tests

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromRequest

func FromRequest(r *http.Request) string

func IsIPv6

func IsIPv6(ip net.IP) bool

func IsPrivateIp

func IsPrivateIp(ip net.IP) bool

IsPrivateIp test is IP local (private)

func IsStringIPv6

func IsStringIPv6(ip string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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