gops
gops copied to clipboard
Add method to get port used
When using a random port (:0
), there is no way to then retrieve the port used, e.g. to print it to the console
maybe listener.Addr()
should be exposed by agent
?