mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-14 10:10:42 -07:00
This can be useful in testing scenarios by allowing you to have the system pick a random port by passing 0 on options.Port, but also give the user a way to query the server for what port it actually bound to.