Documentation ¶
Index ¶
- type Socket
- func (sock *Socket) Close() (err error)
- func (sock *Socket) LocalAddr() net.Addr
- func (sock *Socket) Read(p []byte) (n int, err error)
- func (sock *Socket) RemoteAddr() net.Addr
- func (sock *Socket) Reset() (err error)
- func (sock *Socket) SetDeadline(t time.Time) error
- func (sock *Socket) SetReadDeadline(t time.Time) error
- func (sock *Socket) SetWriteDeadline(t time.Time) error
- func (sock *Socket) Write(p []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Socket ¶
type Socket struct {
// contains filtered or unexported fields
}
Socket represents a single BackedTCP connection
func (*Socket) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.