Documentation ¶ Index ¶ type User Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type User ¶ type User struct { // ID is the unique identifier of the user. ID string // RoomID is the unique identifier of the room that the user belongs to. RoomID string // Conn is the connection of the user. Conn *websocket.Conn } User is a struct that represents a user. Source Files ¶ View all Source files user.go Click to show internal directories. Click to hide internal directories.