ipop

package module
v0.0.0-...-7de4c73 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntToString

func IntToString(i int) string

16843009 -> 1.1.1.1

func IsIP

func IsIP(s string) bool

simple check

func IsIPReg

func IsIPReg(s string) bool

check by regexp

func NetLength

func NetLength(ipList []string) (subnetLength int)

if length of iplist is not greater than 2, this function will return -1

func String2Int

func String2Int(s string) int

1.1.1.1 -> 16843009

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