Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAcceptor ¶
func NewAcceptor(q cellnet.EventQueue) cellnet.Peer
func NewConnector ¶
func NewConnector(q cellnet.EventQueue) cellnet.Peer
func NewPrivatePacketReader ¶
func NewPrivatePacketReader() cellnet.EventHandler
func NewPrivatePacketWriter ¶
func NewPrivatePacketWriter() cellnet.EventHandler
Types ¶
type KcpConnector ¶
连接器, 可由Peer转换
type PrivatePacketReader ¶
type PrivatePacketReader struct {
// contains filtered or unexported fields
}
func (*PrivatePacketReader) Call ¶
func (self *PrivatePacketReader) Call(ev *cellnet.Event)
type PrivatePacketWriter ¶
type PrivatePacketWriter struct {
// contains filtered or unexported fields
}
func (*PrivatePacketWriter) Call ¶
func (self *PrivatePacketWriter) Call(ev *cellnet.Event)
Click to show internal directories.
Click to hide internal directories.