checking in some WIP

* added some netx funcs
* added netx/dnsx
* currently updating docs and adding *x funcs to sprigx
This commit is contained in:
brent saner
2026-02-24 17:41:57 -05:00
parent 4770052b52
commit c6fc692f5e
14 changed files with 2773 additions and 646 deletions

View File

@@ -20,6 +20,7 @@ import (
`github.com/shirou/gopsutil/v4/process`
`github.com/shirou/gopsutil/v4/sensors`
`go4.org/netipx`
`r00t2.io/goutils/netx`
`r00t2.io/goutils/timex`
`r00t2.io/sysutils`
)
@@ -67,6 +68,21 @@ var (
"netipxPfxLast": netipx.PrefixLastIP,
"netipxPfxRange": netipx.RangeOfPrefix,
"netipxRange": netipx.IPRangeFrom,
/*
Networking (r00t.io/goutils/netx)
*/
"netxAddrRfc": netx.AddrRfc,
"netxCidr4IpMask": netx.Cidr4ToIPMask,
"netxCidr4Mask": netx.Cidr4ToMask,
"netxCidr4Str": netx.Cidr4ToStr,
"netxFamilyVer": netx.FamilyToVer,
"netxGetAddrFam": netx.GetAddrFamily,
"netxGetIpFam": netx.GetIpFamily,
"netxIpRfc": netx.IpRfc,
"netxIpRfcStr": netx.IpRfcStr,
"netxIpStripRfc": netx.IpStripRfcStr,
"netxIp4MaskCidr": netx.IPMask4ToCidr,
"netxIp4MaskMask": netx.IPMask4ToMask,
/*
Numbers/Math
*/