1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-23 00:22:19 +00:00

Comment Packet structure

This commit is contained in:
Yohann D'ANELLO 2020-10-01 19:05:39 +02:00
parent e74213fefa
commit 98d5c609a3

View File

@ -14,6 +14,7 @@ type Options struct {
MaxClients int MaxClients int
} }
// Packet contains the necessary data to broadcast events like stream creating, packet receiving or stream closing.
type Packet struct { type Packet struct {
Data []byte Data []byte
PacketType string PacketType string