intranet-ip:内网IP判断

时间:2021-02-15 08:59:52
【文件属性】:
文件名称:intranet-ip:内网IP判断
文件大小:5KB
文件格式:ZIP
更新时间:2021-02-15 08:59:52
intranet-ip Go 内部网 确定IP地址是否是Intranet IP package main import ( "fmt" "net" intranetip "github.com/vicanso/intranet-ip" ) func main () { fmt . Println ( intranetip . Is ( net . ParseIP ( "127.0.0.1" ))) }
【文件预览】:
intranet-ip-master
----.gitignore(191B)
----go.mod(91B)
----exmaple()
--------main.go(156B)
----Makefile(72B)
----intranet_ip.go(1KB)
----go.sum(923B)
----.github()
--------workflows()
----README.md(360B)
----intranet_ip_test.go(993B)

网友评论