Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn interface {
net.Conn
net.PacketConn
SetPacketHandler
}
type PacketHandler ¶
type PacketHandlerFunc ¶
func (PacketHandlerFunc) NewPacket ¶
func (o PacketHandlerFunc) NewPacket(p netio.UDPPacket)
type PrepareFunc ¶
type PrepareResult ¶
type PrepareResult struct {
Success bool
OnClose func(conn Conn)
Handler PacketHandler
PacketWriter netio.PacketWriter
}
type SetPacketHandler ¶
type SetPacketHandler interface {
SetHandler(h PacketHandler)
}
Click to show internal directories.
Click to hide internal directories.