MCPcopy Create free account
hub / github.com/dan-v/lambda-nat-proxy / Proxy

Interface Proxy

internal/socks5/proxy.go:21–28  ·  view source on GitHub ↗

Proxy handles SOCKS5 protocol and data forwarding

Source from the content-addressed store, hash-verified

19
20// Proxy handles SOCKS5 protocol and data forwarding
21type Proxy interface {
22 Start(port int, quicConn quic.Connection) error
23 StartWithConfig(port int, quicConn quic.Connection, bufferSize int) error
24 StartWithConnManager(port int, cm *manager.ConnManager) error
25 StartWithContext(ctx context.Context, port int, quicConn quic.Connection) error
26 StartWithConfigAndContext(ctx context.Context, port int, quicConn quic.Connection, bufferSize int) error
27 StartWithConnManagerAndContext(ctx context.Context, port int, cm *manager.ConnManager) error
28}
29
30// DefaultProxy implements Proxy
31type DefaultProxy struct{}

Callers 5

mainFunction · 0.65
startLambdaProxyFunction · 0.65
runProxyFunction · 0.65
openBrowserFunction · 0.65
runProxyFunction · 0.65

Implementers 1

DefaultProxyinternal/socks5/proxy.go

Calls

no outgoing calls

Tested by

no test coverage detected