
9 Dec
2013
9 Dec
'13
2:49 a.m.
commit 96cbb3ae4e8f0252b59a31f3a26951230df78ac7 Author: David Fifield <david@bamsoftware.com> Date: Sat Dec 7 22:18:23 2013 -0800 Comment SocksRequest members. --- socks.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/socks.go b/socks.go index 6cbecc6..2ae1c5e 100644 --- a/socks.go +++ b/socks.go @@ -18,8 +18,10 @@ const ( // SocksRequest describes a SOCKS request. type SocksRequest struct { + // The userid string sent by the client. Username string - Target string + // The endpoint requested by the client as a "host:port" string. + Target string } // SocksConn encapsulates a net.Conn and information associated with a SOCKS request.