type net.conn
22 uses
net (current package)
iprawsock.go#L100: conn
iprawsock.go#L202: func newIPConn(fd *netFD) *IPConn { return &IPConn{conn{fd}} }
net.go#L170: type conn struct {
net.go#L174: func (c *conn) ok() bool { return c != nil && c.fd != nil }
net.go#L179: func (c *conn) Read(b []byte) (int, error) {
net.go#L191: func (c *conn) Write(b []byte) (int, error) {
net.go#L203: func (c *conn) Close() error {
net.go#L217: func (c *conn) LocalAddr() Addr {
net.go#L227: func (c *conn) RemoteAddr() Addr {
net.go#L235: func (c *conn) SetDeadline(t time.Time) error {
net.go#L246: func (c *conn) SetReadDeadline(t time.Time) error {
net.go#L257: func (c *conn) SetWriteDeadline(t time.Time) error {
net.go#L269: func (c *conn) SetReadBuffer(bytes int) error {
net.go#L281: func (c *conn) SetWriteBuffer(bytes int) error {
net.go#L298: func (c *conn) File() (f *os.File, err error) {
tcpsock.go#L86: conn
tcpsock.go#L194: c := &TCPConn{conn{fd}}
udpsock.go#L89: conn
udpsock.go#L193: func newUDPConn(fd *netFD) *UDPConn { return &UDPConn{conn{fd}} }
unixsock.go#L69: conn
unixsock.go#L195: func newUnixConn(fd *netFD) *UnixConn { return &UnixConn{conn{fd}} }
writev_unix.go#L14: func (c *conn) writeBuffers(v *Buffers) (int64, error) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |