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

Function newLocalClient

client_test.go:82–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80}
81
82func newLocalClient() (*Client, func()) {
83 return newClient(TCP("localhost"))
84}
85
86func newClient(addr net.Addr) (*Client, func()) {
87 conns := &ktesting.ConnWaitGroup{

Calls 2

TCPFunction · 0.85
newClientFunction · 0.70

Tested by

no test coverage detected