Addr returns the broker connection string in the form "<address>:<port>".
()
| 140 | |
| 141 | // Addr returns the broker connection string in the form "<address>:<port>". |
| 142 | func (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. |