net/netip.Addr.Is4 (method)
15 uses
net/netip (current package)
netip.go#L452: func (ip Addr) Is4() bool {
netip.go#L512: if ip.Is4() {
netip.go#L527: if ip.Is4() {
netip.go#L542: if ip.Is4() {
netip.go#L568: if ip.Is4() {
netip.go#L596: if ip.Is4() && (ip == IPv4Unspecified() || ip == AddrFrom4([4]byte{255, 255, 255, 255})) {
netip.go#L612: if ip.Is4() {
netip.go#L715: if ip.Is4() {
netip.go#L732: if ip.Is4() {
netip.go#L1088: if v6 && ipp.ip.Is4() {
netip.go#L1338: if ip.Is4() {
netip.go#L1368: if p.ip.Is4() != o.ip.Is4() {
net
addrselect.go#L293: if ip.Is4() {
ipsock_posix.go#L205: if !addr.Is4() {
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. |