// CloseSend implements transport.ConnectedEndpoint.CloseSend.
CloseSend implements transport.ConnectedEndpoint.CloseSend.
// CloseSend implements transport . ConnectedEndpoint . CloseSend .
func (c *ConnectedEndpoint) CloseSend() {
	c.mu.Lock()
	defer c.mu.Unlock()
	if err := unix.Shutdown(c.fd, unix.SHUT_WR); err != nil {
		panic(fmt.Sprintf("failed write shutdown on host socket %+v: %v", c, err))
	}
}
func ( c * ConnectedEndpoint ) CloseSend ( ) { c . mu . Lock ( ) defer c . mu . Unlock ( ) if err := unix . Shutdown ( c . fd , unix . SHUT_WR ) ; err != nil { panic ( fmt . Sprintf ( " " , c , err ) ) } }
CloseSend implements transport.ConnectedEndpoint.CloseSend.
CloseSend implements transport . ConnectedEndpoint . CloseSend .
// A well-formed UDS shutdown can't fail. See // net/unix/af_unix.c:unix_shutdown.