CloseWrite half-closes the write side of the connection. If the underlying net.Conn is not half-closeable (i.e. not a *net.TCPConn), this is a no-op.
()
| 1410 | // CloseWrite half-closes the write side of the connection. If the underlying |
| 1411 | // net.Conn is not half-closeable (i.e. not a *net.TCPConn), this is a no-op. |
| 1412 | func (c *bufConn) CloseWrite() error { |
| 1413 | if c, ok := c.Conn.(interface{ CloseWrite() error }); ok { |
| 1414 | return c.CloseWrite() |
| 1415 | } |
| 1416 | return nil |
| 1417 | } |
| 1418 | |
| 1419 | // CloseRead half-closes the read side of the connection. If the underlying |
| 1420 | // net.Conn is not half-closeable (i.e. not a *net.TCPConn), this is a no-op. |
no outgoing calls
no test coverage detected