net/netip.Addr.Is6 (method)
15 uses
net/netip (current package)
netip.go#L432: if ip.Is6() {
netip.go#L458: return ip.Is6() && ip.addr.hi == 0 && ip.addr.lo>>32 == 0xffff
netip.go#L463: func (ip Addr) Is6() bool {
netip.go#L482: if !ip.Is6() {
netip.go#L496: if !ip.Is6() {
netip.go#L517: if ip.Is6() {
netip.go#L532: if ip.Is6() {
netip.go#L547: if ip.Is6() {
netip.go#L558: if ip.Is6() {
netip.go#L573: if ip.Is6() {
netip.go#L620: if ip.Is6() {
netip.go#L1090: } else if !v6 && ipp.ip.Is6() {
netip.go#L1286: if ip.Is6() && ip.z != z6noz {
netip.go#L1296: if ip.Is6() {
net
addrselect.go#L320: ipv6 := ip.Is6() && !ip.Is4In6()
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |