mirror of
https://github.com/tinygo-org/net.git
synced 2026-08-05 12:27:45 +00:00
a51f3399cb
Required for net/http.
12 lines
230 B
Go
12 lines
230 B
Go
package net
|
|
|
|
// TCPConn is an implementation of the Conn interface for TCP network
|
|
// connections.
|
|
type TCPConn struct {
|
|
conn
|
|
}
|
|
|
|
func (c *TCPConn) CloseWrite() error {
|
|
return &OpError{"close", "", nil, nil, ErrNotImplemented}
|
|
}
|