Versions in this module Expand all Collapse all v0 v0.1.6 Nov 10, 2023 Changes in this version + const MethodNone + var ErrMissingPassword = E.New("missing password") + var ErrPacketTooShort = E.New("packet too short") + func RegisterMethod(methods []string, creator MethodCreator) + type Method interface + DialConn func(conn net.Conn, destination M.Socksaddr) (net.Conn, error) + DialEarlyConn func(conn net.Conn, destination M.Socksaddr) net.Conn + DialPacketConn func(conn net.Conn) N.NetPacketConn + func CreateMethod(ctx context.Context, methodName string, options MethodOptions) (Method, error) + type MethodCreator func(ctx context.Context, methodName string, options MethodOptions) (Method, error) + type MethodOptions struct + Key []byte + KeyList [][]byte + Password string