user

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL