Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SocketConn ¶
type SocketConn interface { // Reads a packet from the connection, copying the payload into b. It returns number of bytes copied. Read(b []byte) (int, error) // Closes the connection. Close() }
SocketConn is an interface for socket connection.
Click to show internal directories.
Click to hide internal directories.