Wire most of the work from today together

This commit is contained in:
AlexSSD7 2023-08-31 16:23:40 +01:00
commit e57519e58d
12 changed files with 328 additions and 132 deletions

7
utils/net.go Normal file
View file

@ -0,0 +1,7 @@
package utils
import "net"
func IsIPv6IP(ip net.IP) bool {
return ip.To4() == nil && ip.To16() != nil
}