Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { Start() Stop() Config() *config.Config Server() Server SessionManager() SessionManager SlotManager() SlotManager Cache() Cache PacketSniffer() PacketSniffer Ctx() context.Context }
type PacketMeta ¶
type PacketMeta struct { Count int `json:"count"` UID uint32 `json:"uid"` Type packet.PacketType `json:"type"` Src uint32 `json:"src"` Dst uint32 `json:"dst"` Seq uint32 `json:"seq"` Priority packet.Priority `json:"priority"` Timestamp uint64 `json:"timestamp"` PayloadLength uint32 `json:"payload_length"` Payload interface{} `json:"payload"` }
type PacketSniffer ¶
type PacketSniffer interface { Add(pkt *packet.RTDEXPacket) Stream() <-chan *PacketMeta }
type SessionManager ¶
type SlotManager ¶
Click to show internal directories.
Click to hide internal directories.