MCPcopy
hub / github.com/cortesi/devd / Close

Method Close

slowdown/slowdown.go:99–101  ·  view source on GitHub ↗

Close closes the connection. Any blocked Read or Write operations will be unblocked and return errors.

()

Source from the content-addressed store, hash-verified

97// Close closes the connection.
98// Any blocked Read or Write operations will be unblocked and return errors.
99func (sc *SlowConn) Close() error {
100 return sc.conn.Close()
101}
102
103// LocalAddr returns the local network address.
104func (sc *SlowConn) LocalAddr() net.Addr {

Callers 8

GenerateCertFunction · 0.45
CloseMethod · 0.45
TestReverseProxyFunction · 0.45
TestXForwardedForFunction · 0.45
TestReverseProxyQueryFunction · 0.45
ServeHTTPContextMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by 4

TestReverseProxyFunction · 0.36
TestXForwardedForFunction · 0.36
TestReverseProxyQueryFunction · 0.36