MCPcopy
hub / github.com/IBM/sarama / Addr

Method Addr

mockbroker.go:142–144  ·  mockbroker.go::MockBroker.Addr

Addr returns the broker connection string in the form "<address>:<port>".

()

Source from the content-addressed store, hash-verified

140
141// Addr returns the broker connection string in the form "<address>:<port>".
142func (b *MockBroker) Addr() string {
143 return b.listener.Addr().String()
144}
145
146// Close terminates the broker blocking until it stops internal goroutines and
147// releases all resources.

Calls 1

StringMethod · 0.45