Go 中的 SOCKS 协议版本 5 库。提供完整的 TCP/UDP 和 IPv4/IPv6 支持
type NegotiationRequest structfunc NewNegotiationRequest(methods []byte), 在客户端func (r *NegotiationRequest) WriteTo(w io.Writer), 客户端写入服务器func NewNegotiationRequestFrom(r io.Reader), 服务器从客户端读取type NegotiationReply structfunc NewNegotiationReply(method byte), 在服务器func (r *NegotiationReply) WriteTo(w io.Writer), 服务器写入客户端func NewNegotiationReplyFrom(r io.Reader), 客户端从服务器读取type UserPassNegotiationRequest structfunc NewUserPassNegotiationRequest(username []byte, password []byte), 在客户端func (r *UserPassNegotiationRequest) WriteTo(w io.Writer), 客户端写入服务器func NewUserPassNegotiationRequestFrom(r io.Reader), 服务器从客户端读取type UserPassNegotiationReply structfunc NewUserPassNegotiationReply(status byte), 在服务器func (r *UserPassNegotiationReply) WriteTo(w io.Writer), 服务器写入客户端func NewUserPassNegotiationReplyFrom(r io.Reader), 客户端从服务器读取type Request structfunc NewRequest(cmd byte, atyp byte, dstaddr []byte, dstport []byte), 在客户端func (r *Request) WriteTo(w io.Writer), 客户端写入服务器func NewRequestFrom(r io.Reader), 服务器从客户端读取type Reply structfunc NewReply(rep byte, atyp byte, bndaddr []byte, bndport []byte), 在服务器func (r *Reply) WriteTo(w io.Writer), 服务器写入客户端func NewReplyFrom(r io.Reader), 客户端从服务器读取暂无开放 Issues,或尚未同步最近议题。