MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / Handle

Method Handle

socks/request_handler.go:16–16  ·  view source on GitHub ↗
(*Request, io.ReadWriter)

Source from the content-addressed store, hash-verified

14// RequestHandler is the functions needed to handle a SOCKS5 command
15type RequestHandler interface {
16 Handle(*Request, io.ReadWriter) error
17}
18
19// StandardRequestHandler implements the base socks5 command processing

Callers 4

TestUnsupportedBindFunction · 0.95
TestUnsupportedAssociateFunction · 0.95
TestHandleConnectFunction · 0.95

Implementers 5

JWTValidatoringress/middleware/jwtvalidator.go
NoAuthAuthenticatorsocks/authenticator.go
UserPassAuthAuthenticatorsocks/authenticator.go
StandardRequestHandlersocks/request_handler.go
StandardAuthHandlersocks/auth_handler.go

Calls

no outgoing calls

Tested by 4

TestUnsupportedBindFunction · 0.76
TestUnsupportedAssociateFunction · 0.76
TestHandleConnectFunction · 0.76