Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloseReader ¶
type CloseReader interface { // CloseRead is ... CloseRead() error }
CloseReader is ...
type CloseWriter ¶
type CloseWriter interface { // CloseWrite is ... CloseWrite() error }
CloseWriter is ...
type Handler ¶
type Handler interface { // Closer is ... io.Closer // Handle is ... Handle(Conn, net.Addr) error // HandlePacket is ... HandlePacket(PacketConn) error }
Handler is ...
type PacketConn ¶
type PacketConn interface { // LocalAddr is ... LocalAddr() net.Addr // RemoteAddr is ... RemoteAddr() net.Addr // SetDeadline is ... SetDeadline(time.Time) error // SetReadDeadline is ... SetReadDeadline(time.Time) error // SetWriteDeadline is ... SetWriteDeadline(time.Time) error // ReadTo is ... ReadTo([]byte) (int, net.Addr, error) // WriteFrom is ... WriteFrom([]byte, net.Addr) (int, error) // Close is ... Close() error }
PacketConn is ...
Click to show internal directories.
Click to hide internal directories.