package
0.1.1-rc1
Repository: https://github.com/elmasy-com/elmasy.git
Documentation: pkg.go.dev

# README

randomip

Go Reference

Get

go get github.com/elmasy-com/randomip

# Functions

GetPublicIP is return a **non reserved** IP address.
GetPublicIPv4 is return a **non reserved** IPv4 address.
GetPublicIPv6 is return a **non reserved** IPv6 address.
GetRandomIP is return a random IP address.
GetRandomIPv4 is return a random IPv4 address.
GetRandomIPv6 is return a random IPv6 address.
IsReservedIPv4 checks if the given IP address is reserved.
IsReservedIPv6 checks if the given IP address is reserved.

# Variables

ReservedIPv4 is a collection of reserved IPv4 addresses.
ReservedIPv6 is a collection of reserved IPv6 addresses.