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