net/netip.Addr.Is4 (method)
19 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() {
github.com/jackc/pgx/v5/pgtype
inet.go#L67: if prefix.Addr().Is4() {
google.golang.org/grpc/balancer/pickfirst
pickfirst.go#L485: case ip.Is4() || ip.Is4In6():
google.golang.org/grpc/internal/resolver/dns
dns_resolver.go#L375: if ip.Is4() {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)