MCPcopy
hub / github.com/google/seesaw / IP

Method IP

common/seesaw/seesaw.go:247–249  ·  view source on GitHub ↗

IP returns the net.IP representation of a seesaw IP address.

()

Source from the content-addressed store, hash-verified

245
246// IP returns the net.IP representation of a seesaw IP address.
247func (ip IP) IP() net.IP {
248 return net.IP(ip[:])
249}
250
251// AF returns the address family of a seesaw IP address.
252func (ip IP) AF() AF {

Callers 15

EqualMethod · 0.95
AFMethod · 0.95
StringMethod · 0.95
readIPv6PacketMethod · 0.45
TestWatermarksFunction · 0.45
newConfigMethod · 0.45
markBackendMethod · 0.45
unmarkBackendMethod · 0.45
ipvsServiceMethod · 0.45
ipvsDestinationMethod · 0.45
snapshotMethod · 0.45
updateStateMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestWatermarksFunction · 0.36