MCPcopy
hub / github.com/golang/net / Addr

Interface Addr

lif/address.go:16–19  ·  view source on GitHub ↗

An Addr represents an address associated with packet routing.

Source from the content-addressed store, hash-verified

14
15// An Addr represents an address associated with packet routing.
16type Addr interface {
17 // Family returns an address family.
18 Family() int
19}
20
21// An Inet4Addr represents an internet address for IPv4.
22type Inet4Addr struct {

Callers 14

ReadBatchMethod · 0.45
WriteBatchMethod · 0.45
ReadFromMethod · 0.45
WriteToMethod · 0.45
TestDialFunction · 0.45
ReadFromMethod · 0.45
WriteToMethod · 0.45
ReadBatchMethod · 0.45
TestDialFunction · 0.45
TestTestConnFunction · 0.45

Implementers 6

Inet4Addrlif/address.go
Inet6Addrlif/address.go
LinkAddrroute/address.go
Inet4Addrroute/address.go
Inet6Addrroute/address.go
DefaultAddrroute/address.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…