You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x/net/proxy.SOCKS5 returns an x/net/internal/socks.Dialer, when Dialing to create a new connection, a *socks.Conn is returned, and the BoundAddr() method can be accessed by creating an interface, however, because the socks.Addr struct is not available, its fields cannot be accessed without using reflection, or parsing strings.
I'm unsure what the benefit of making the socks package internal is, but if making it non-internal is an issue, perhaps there is another way of exposing BoundAddr().
The text was updated successfully, but these errors were encountered:
Proposal Details
x/net/proxy.SOCKS5 returns an x/net/internal/socks.Dialer, when Dialing to create a new connection, a *socks.Conn is returned, and the BoundAddr() method can be accessed by creating an interface, however, because the
socks.Addr
struct is not available, its fields cannot be accessed without using reflection, or parsing strings.I'm unsure what the benefit of making the socks package internal is, but if making it non-internal is an issue, perhaps there is another way of exposing BoundAddr().
The text was updated successfully, but these errors were encountered: