net/netip.Addr.Is4 (method)
16 uses
net/netip (current package)
netip.go#L460: func (ip Addr) Is4() bool {
netip.go#L526: if ip.Is4() {
netip.go#L545: if ip.Is4() {
netip.go#L564: if ip.Is4() {
netip.go#L594: if ip.Is4() {
netip.go#L626: if ip.Is4() && (ip == IPv4Unspecified() || ip == AddrFrom4([4]byte{255, 255, 255, 255})) {
netip.go#L646: if ip.Is4() {
netip.go#L744: if ip.Is4() {
netip.go#L761: if ip.Is4() {
netip.go#L1131: if v6 && ipp.ip.Is4() {
netip.go#L1436: if ip.Is4() {
netip.go#L1466: if p.ip.Is4() != o.ip.Is4() {
net
addrselect.go#L285: if ip.Is4() {
ipsock_posix.go#L245: if !addr.Is4() && !addr.Is4In6() {
net/url
url.go#L602: if addr.Is4() {
![]() |
The pages are generated with Golds v0.8.4. (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. |