MCPcopy Create free account
hub / github.com/subtrace/subtrace / newProxy

Function newProxy

cmd/run/socket/proxy.go:60–68  ·  view source on GitHub ↗
(global *global.Global, tmpl *event.Event, isOutgoing bool)

Source from the content-addressed store, hash-verified

58}
59
60func newProxy(global *global.Global, tmpl *event.Event, isOutgoing bool) *proxy {
61 return &proxy{
62 global: global,
63 tmpl: tmpl,
64
65 begin: time.Now(),
66 isOutgoing: isOutgoing,
67 }
68}
69
70func (p *proxy) Close() error {
71 errs := make(chan error, 2)

Callers 2

ConnectMethod · 0.85
ListenMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected