netkit

package
v0.0.0-...-d9922dd Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeInSegment

func BeInSegment(ip string, segment string) bool

func Between

func Between(ip string, from string, to string) bool

func BytesToIPv4

func BytesToIPv4(b []byte) string

func BytesToIPv6

func BytesToIPv6(b []byte) string

func GetHostIp

func GetHostIp() (net.IP, error)

func IPv4ToInt

func IPv4ToInt(ip string) uint32

func IntToIPv4

func IntToIPv4(v uint32) string

func ResolveIP

func ResolveIP(ip string) (net.IP, error)

Types

This section is empty.

Directories

Path Synopsis
http

Jump to

Keyboard shortcuts

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