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

Method Close

dialer_test.go:273–280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

271}
272
273func (m *MockConn) Close() error {
274 select {
275 case <-m.done:
276 default:
277 close(m.done)
278 }
279 return nil
280}
281
282func (m *MockConn) ReadPartitions(topics ...string) (partitions []Partition, err error) {
283 return m.partitions, err

Callers 1

TestDialerTLSFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected