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

Method Close

packet/funnel.go:24–24  ·  view source on GitHub ↗

Close closes the funnel. Further call to SendToDst or ReturnToSrc should return an error

()

Source from the content-addressed store, hash-verified

22 LastActive() time.Time
23 // Close closes the funnel. Further call to SendToDst or ReturnToSrc should return an error
24 Close() error
25 // Equal compares if 2 funnels are equivalent
26 Equal(other Funnel) bool
27}

Callers 15

RegisterUdpSessionMethod · 0.65
TestQUICServerFunction · 0.65
TestServeUDPSessionFunction · 0.65
TestSkipPortReuseFunction · 0.65
serveSessionFunction · 0.65
wsEchoEndpointFunction · 0.65
DialQuicFunction · 0.65
closeMethod · 0.65
CloseMethod · 0.65

Implementers 1

testFunnelpacket/funnel_test.go

Calls

no outgoing calls

Tested by 15

TestQUICServerFunction · 0.52
TestServeUDPSessionFunction · 0.52
TestSkipPortReuseFunction · 0.52
serveSessionFunction · 0.52
wsEchoEndpointFunction · 0.52
TestServeHTTPFunction · 0.52
TestServeWSFunction · 0.52