MCPcopy
hub / github.com/cloudflare/cloudflared / ConnectionHandler

Interface ConnectionHandler

socks/connection_handler.go:11–13  ·  view source on GitHub ↗

ConnectionHandler is the Serve method to handle connections from a local TCP listener of the standard library (net.Listener)

Source from the content-addressed store, hash-verified

9// ConnectionHandler is the Serve method to handle connections
10// from a local TCP listener of the standard library (net.Listener)
11type ConnectionHandler interface {
12 Serve(io.ReadWriter) error
13}
14
15// StandardConnectionHandler is the base implementation of handling SOCKS5 requests
16type StandardConnectionHandler struct {

Callers 3

startTestServerFunction · 0.95
StreamHandlerFunction · 0.95
StreamNetHandlerFunction · 0.95

Implementers 15

datagramV2Connectionconnection/quic_datagram_v2.go
datagramV3Connectionconnection/quic_datagram_v3.go
HTTP2Connectionconnection/http2.go
quicConnectionconnection/quic_connection.go
RegistrationServertunnelrpc/registration_server.go
SessionManagerServertunnelrpc/quic/session_server.go
CloudflaredServertunnelrpc/quic/cloudflared_server.go
PacketRouteringress/packet_router.go
icmpProxyingress/icmp_windows.go
icmpRouteringress/origin_icmp_proxy.go
EdgeTunnelServersupervisor/tunnel.go
noopEyeballquic/v3/muxer_test.go

Calls

no outgoing calls

Tested by

no test coverage detected