Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Room ¶
type Room struct { ID string OwnerID uuid.UUID Connections map[uuid.UUID]*Connection sync.Mutex Ready chan struct{} // contains filtered or unexported fields }
func (*Room) GetConnection ¶
func (room *Room) GetConnection(id uuid.UUID) (*Connection, bool)
func (*Room) NewConnection ¶
making a new owner connection marks the room as ready
Click to show internal directories.
Click to hide internal directories.