Versions in this module Expand all Collapse all v1 v1.1.9 Apr 5, 2024 Changes in this version type Room + ID int + Owner_ID string v1.1.8 Apr 2, 2024 v1.1.7 Apr 2, 2024 v1.1.6 Apr 1, 2024 v1.1.5 Mar 28, 2024 v1.1.4 Sep 18, 2023 v1.1.3 Sep 17, 2023 v1.1.2 Sep 6, 2023 v1.1.1 Sep 6, 2023 v1.1.0 Sep 24, 2022 v1.0.0 Sep 16, 2022 Changes in this version + type Room struct + Description string + Id int + Name string + Owner_Id string + Private bool + Xid string + func (room *Room) GetDescription() string + func (room *Room) GetId() int + func (room *Room) GetName() string + func (room *Room) GetOwnerId() string + func (room *Room) GetPrivate() bool + func (room *Room) GetXid() string + type RoomStore struct + DB *pgxpool.Pool + func (rs *RoomStore) AddRoom(room models.Room, owner_id string) + func (rs *RoomStore) FindRoomByName(name string) models.Room + func (rs *RoomStore) FindRoomByXid(xid string) models.Room + type User struct + Email string + Id int + Name string + Password string + Xid string + func (user *User) GetEmail() string + func (user *User) GetId() int + func (user *User) GetName() string + func (user *User) GetPassword() string + func (user *User) GetXid() string + type UserStore struct + DB *pgxpool.Pool + func (us *UserStore) AddUser(client models.User) models.User + func (us *UserStore) FindUserByXid(xid string) models.User + func (us *UserStore) GetAllUsers() []models.User + func (us *UserStore) RemoveUser(client models.User)