Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Channel string Socket *websocket.Conn Send chan *domain.Chat Room Room User domain.User Saved *chan SavedChat }
Client represents a user connect to a room, one user may have many devices to chat, so it should not be the same as user
Click to show internal directories.
Click to hide internal directories.