Documentation ¶
Index ¶
- func HandleConnectionEx(ctx context.Context, conn net.Conn, reader *std_bufio.Reader, ...) error
- func ParseBasicAuth(auth string) (username, password string, ok bool)
- func ReadRequest(b *bufio.Reader) (req *http.Request, err error)
- func SourceAddress(request *http.Request) M.Socksaddr
- func URLSetPath(u *url.URL, p string) error
- type Client
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleConnectionEx ¶
func HandleConnectionEx( ctx context.Context, conn net.Conn, reader *std_bufio.Reader, authenticator *auth.Authenticator, handler N.TCPConnectionHandlerEx, source M.Socksaddr, onClose N.CloseHandlerFunc, ) error
func ParseBasicAuth ¶ added in v0.2.16
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DialContext ¶
func (*Client) ListenPacket ¶
Click to show internal directories.
Click to hide internal directories.