model

package
v0.0.0-...-15f75d5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateID

func GenerateID() string

func GetRoomGeneralTopic

func GetRoomGeneralTopic(roomID string) string

func GetRoomParticipantTopic

func GetRoomParticipantTopic(roomID, participantID string) string

Types

type Room

type Room struct {
	ID              string
	HostID          string
	ParticipantsIDs []string
	LastActivity    time.Time
	CreatedAt       time.Time
}

func NewRoom

func NewRoom(hostID string) *Room

Jump to

Keyboard shortcuts

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