Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Room ¶
type Room struct {
ID int
OwnerID int64
OwnerApp string
GuestID int64 `gorm:"default:NULL"`
GuestApp string `gorm:"default:NULL"`
Active bool `gorm:"default:TRUE"`
CreatedAt time.Time
Messages []Message
}
func FindFreeRoom ¶
FindFreeRoom returns Room where owner is not user and no guest present.
Click to show internal directories.
Click to hide internal directories.