Documentation ¶ Index ¶ type SocketConn 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. Source Files ¶ View all Source files socketconn.go Directories ¶ Show internal Expand all Path Synopsis udp Click to show internal directories. Click to hide internal directories.