Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReaderWriter ¶
type ReaderWriter struct {
// contains filtered or unexported fields
}
func NewRW ¶
func NewRW(fd, n, mtu int) *ReaderWriter
func (*ReaderWriter) ReadFrom ¶
func (rw *ReaderWriter) ReadFrom(readFunc func([]byte, *net.UDPAddr, error))
func (*ReaderWriter) WriteTo ¶
func (rw *ReaderWriter) WriteTo(data []byte, addr *net.UDPAddr) error
Click to show internal directories.
Click to hide internal directories.