Documentation ¶
Index ¶
Constants ¶
View Source
const MTU = 9001
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addr ¶
func FromBytesManual ¶
func (*Addr) ToBytesGob ¶
func (*Addr) ToBytesJSON ¶
func (*Addr) ToBytesManual ¶
type Conn ¶
type GenericConn ¶
func (*GenericConn) Listen ¶
func (u *GenericConn) Listen(r EncReader)
func (*GenericConn) LocalAddr ¶
func (u *GenericConn) LocalAddr() (*Addr, error)
type MakeupWriter ¶
type MakeupWriter interface { WriteTo(srcPort uint16, destPort uint16, b []byte, addr *Addr) error Close() error }
func DialMakeup ¶
func DialMakeup(ip net.IP, port int) (MakeupWriter, error)
Click to show internal directories.
Click to hide internal directories.