Versions in this module Expand all Collapse all v0 v0.0.1 Oct 12, 2022 Changes in this version + type Data struct + func NewData(app cfacade.IApplication, localMessage ProcessMessage, ...) *Data + func (h *Data) Do(session *csession.Session, packet cfacade.IPacket) + func (h *Data) PacketType() cpacket.Type + type Handshake struct + func NewHandshake(app cfacade.IApplication, sysData map[string]interface{}) *Handshake + func (h *Handshake) Do(session *csession.Session, _ cfacade.IPacket) + func (h *Handshake) PacketType() cpacket.Type + type HandshakeACK struct + func NewHandshakeACK() *HandshakeACK + func (h *HandshakeACK) Do(session *csession.Session, _ cfacade.IPacket) + func (h *HandshakeACK) PacketType() cpacket.Type + type Heartbeat struct + func NewHeartbeat(app cfacade.IApplication) *Heartbeat + func (h *Heartbeat) Do(session *csession.Session, _ cfacade.IPacket) + func (h *Heartbeat) PacketType() cpacket.Type + type ICommand interface + Do func(session *csession.Session, packet cfacade.IPacket) + PacketType func() cpacket.Type + type ProcessMessage func(session *csession.Session, msg *cmsg.Message)