MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / DialString

Method DialString

p2p/netaddress.go:224–232  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222}
223
224func (na *NetAddress) DialString() string {
225 if na == nil {
226 return "<nil-NetAddress>"
227 }
228 return net.JoinHostPort(
229 na.IP.String(),
230 strconv.FormatUint(uint64(na.Port), 10),
231 )
232}
233
234// Dial calls net.Dial on the address.
235func (na *NetAddress) Dial() (net.Conn, error) {

Callers 11

SameMethod · 0.95
StringMethod · 0.95
DialMethod · 0.95
DialTimeoutMethod · 0.95
ListenMethod · 0.80
TestPeerBasicFunction · 0.80
dialAttemptsInfoMethod · 0.80
dialPeerMethod · 0.80
AttemptsToDialMethod · 0.80
NodeInfoMethod · 0.80

Calls 1

StringMethod · 0.65

Tested by 2

TestPeerBasicFunction · 0.64