MCPcopy Create free account
hub / github.com/tailscale/tailcat / closeWriter

Interface closeWriter

tailcat.go:1790–1792  ·  view source on GitHub ↗

closeWriter is implemented by TCP-like connections (such as [net.TCPConn] and gVisor's gonet.TCPConn) that can shut down just their writing side.

Source from the content-addressed store, hash-verified

1788// [net.TCPConn] and gVisor's gonet.TCPConn) that can shut down just
1789// their writing side.
1790type closeWriter interface {
1791 CloseWrite() error
1792}
1793
1794// ProxyConns copies data between a and b in both directions until
1795// both sides have finished, then closes both connections.

Callers 6

ProxyConnsFunction · 0.80
TestHalfCloseFunction · 0.80
clientModeFunction · 0.80
TestBrowserReceivesFunction · 0.80
makeJSConnFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected