net/netip.Addr.Is4 (method)
15 uses
net/netip (current package)
netip.go#L461: func (ip Addr) Is4() bool {
netip.go#L525: if ip.Is4() {
netip.go#L544: if ip.Is4() {
netip.go#L563: if ip.Is4() {
netip.go#L593: if ip.Is4() {
netip.go#L625: if ip.Is4() && (ip == IPv4Unspecified() || ip == AddrFrom4([4]byte{255, 255, 255, 255})) {
netip.go#L645: if ip.Is4() {
netip.go#L743: if ip.Is4() {
netip.go#L760: if ip.Is4() {
netip.go#L1118: if v6 && ipp.ip.Is4() {
netip.go#L1406: if ip.Is4() {
netip.go#L1436: if p.ip.Is4() != o.ip.Is4() {
net
addrselect.go#L293: if ip.Is4() {
ipsock_posix.go#L241: if !addr.Is4() {
![]() |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |