net/netip.Addr.Is4 (method)
17 uses
net/netip (current package)
netip.go#L461: func (ip Addr) Is4() bool {
netip.go#L527: if ip.Is4() {
netip.go#L546: if ip.Is4() {
netip.go#L565: if ip.Is4() {
netip.go#L595: if ip.Is4() {
netip.go#L627: if ip.Is4() && (ip == IPv4Unspecified() || ip == AddrFrom4([4]byte{255, 255, 255, 255})) {
netip.go#L647: if ip.Is4() {
netip.go#L745: if ip.Is4() {
netip.go#L762: if ip.Is4() {
netip.go#L1132: if v6 && ipp.ip.Is4() {
netip.go#L1435: if ip.Is4() {
netip.go#L1465: if p.ip.Is4() != o.ip.Is4() {
net
addrselect.go#L285: if ip.Is4() {
ipsock_posix.go#L241: if !addr.Is4() {
google.golang.org/grpc/balancer/pickfirst/pickfirstleaf
pickfirstleaf.go#L444: case ip.Is4() || ip.Is4In6():
google.golang.org/grpc/internal/resolver/dns
dns_resolver.go#L364: if ip.Is4() {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)