havalid

package
v0.2.73 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPCheck

func IPCheck(ip string) int

check if ip and type, return 4 and 6 as valid type, return 0 as not ip

func IsPrivateIP added in v0.2.50

func IsPrivateIP(ip string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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