utils

package
v2.7.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIPInRange

func CheckIPInRange(IP string, ipNet *net.IPNet) bool

func CheckIPInRanges

func CheckIPInRanges(IP string, ipNets []*net.IPNet, ips []string) bool

func CheckIpRangeFromString

func CheckIpRangeFromString(IP string, ipRange string) bool

func IsInternalCall

func IsInternalCall(srcIp string, dstIp string) bool

Check if both of source and destination IP Address are the local IP Address

func IsLocalIP

func IsLocalIP(ip string) bool

Check if the IP Address is the local IP Address

Types

This section is empty.

Jump to

Keyboard shortcuts

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