Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encodeous/nylon
/ SrcToString
Method
SrcToString
polyamide/conn/sticky_linux.go:44–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
}
43
44
func
(e *StdNetEndpoint) SrcToString() string {
45
return
e.SrcIP().String()
46
}
47
48
// getSrcFromControl parses the control for PKTINFO and if found updates ep with
49
// the source information found.
Callers
nothing calls this directly
Calls
2
SrcIP
Method · 0.95
String
Method · 0.45
Tested by
no test coverage detected