MCPcopy
hub / github.com/segmentio/kafka-go / String

Method String

protocol/conn.go:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (c *Conn) String() string {
28 return fmt.Sprintf("kafka://%s@%s->%s", c.clientID, c.LocalAddr(), c.RemoteAddr())
29}
30
31func (c *Conn) Close() error {
32 return c.conn.Close()

Callers 4

encodeFuncOfFunction · 0.45
stringMethod · 0.45
decodeFuncOfFunction · 0.45
deepEqualValueFunction · 0.45

Calls 2

LocalAddrMethod · 0.95
RemoteAddrMethod · 0.95

Tested by

no test coverage detected