Documentation ¶
Index ¶
Constants ¶
View Source
const BroadcastRoom = "all"
View Source
const MessageChSize = 100
Variables ¶
This section is empty.
Functions ¶
func TransformToResponse ¶
Types ¶
type Message ¶
type Message struct { Data []byte To websocket_pb.To ID string }
func DecodeMessage ¶
func ProtoToMessage ¶
func ProtoToMessage(m application.WebsocketMessage, id string) Message
Click to show internal directories.
Click to hide internal directories.