Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPlayersIDsInRoom ¶
func OnUpdateRoom ¶
func OnUpdateRoom(ctx context.Context, e FirestoreEvent) error
OnUpdateRoom is triggered when a room is updated - Initiates a board when the room is full
Types ¶
type FirestoreEvent ¶
type FirestoreEvent struct { OldValue myfirestore.FirestoreValue `json:"oldValue"` Value myfirestore.FirestoreValue `json:"value"` }
FirestoreEvent is the payload of a Firestore event. Please refer to the docs for additional information regarding Firestore events.
Click to show internal directories.
Click to hide internal directories.