MCPcopy Create free account
hub / github.com/pion/ice / String

Method String

candidate_base.go:497–506  ·  view source on GitHub ↗

String makes the candidateBase printable.

()

Source from the content-addressed store, hash-verified

495
496// String makes the candidateBase printable.
497func (c *candidateBase) String() string {
498 return fmt.Sprintf(
499 "%s %s %s%s (resolved: %v)",
500 c.NetworkType(),
501 c.Type(),
502 net.JoinHostPort(c.Address(), strconv.Itoa(c.Port())),
503 c.relatedAddress,
504 c.resolvedAddr,
505 )
506}
507
508// LastReceived returns a time.Time indicating the last time
509// this candidate was received.

Callers

nothing calls this directly

Calls 4

NetworkTypeMethod · 0.95
TypeMethod · 0.95
AddressMethod · 0.95
PortMethod · 0.95

Tested by

no test coverage detected