Currently I'm making a http Client that keeps an open connection. I want to get the IP address of the client made. I know that I can give it its own ip address by using transport's Dial function. However is there a way that I can obtain its address after declaring the client?
var tr= &http.Transport{DisableKeepAlives:false}
var client = http.Client{Transport :tr}