MCPcopy
hub / github.com/yusing/godoxy / Stream

Interface Stream

internal/net/types/stream.go:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type Stream interface {
9 ListenAndServe(ctx context.Context, preDial, onRead HookFunc) error
10 LocalAddr() net.Addr
11 Close() error
12}
13
14type ConnProxy interface {
15 ProxyConn(ctx context.Context, conn net.Conn)

Callers 23

ListenAndServeMethod · 0.65
ListenAndServeMethod · 0.65
StartAddRouteMethod · 0.65
listenDebugServerFunction · 0.65
initProfilingFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65
LocalAddrMethod · 0.65
LocalAddrMethod · 0.65
MarshalZerologObjectMethod · 0.65
LocalAddrMethod · 0.65

Implementers 7

testConnProxyStreaminternal/idlewatcher/handle_stream_tes
Watcherinternal/idlewatcher/watcher.go
StreamRouteinternal/route/stream.go
UDPUDPStreaminternal/route/stream/udp_udp.go
TCPTCPStreaminternal/route/stream/tcp_tcp.go
fakeSNIStreamRouteinternal/entrypoint/sni_passthrough_fa
testConnProxyStreaminternal/entrypoint/sni_passthrough_fa

Calls

no outgoing calls

Tested by

no test coverage detected