geotools

package
v0.0.0-...-4d64e5c Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMinimumDistance

func GetMinimumDistance(g *geoip.GeoIp, sourceIp net.IP, ips []types.IP_RR, mask []int) ([]int, error)

TODO: add a margin for minimum distance

func GetSameASN

func GetSameASN(g *geoip.GeoIp, sourceIp net.IP, ips []types.IP_RR, mask []int) ([]int, error)

func GetSameCountry

func GetSameCountry(g *geoip.GeoIp, sourceIp net.IP, ips []types.IP_RR, mask []int) ([]int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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