Documentation
¶
Index ¶
- func Add(cache *cache.Cache, close <-chan struct{})
- func GetCurrentVideoTitle(roomUUID string) string
- func GetUserUUIDByID(userID, roomUUID string) (string, bool, error)
- func GetUsersCount(roomUUID string) int
- func Size() int
- func UpdateEmojiList(roomUUID string)
- func UpdatePermissions(id, roomUUID string, level int)
- func UpdateRole(id, roomUUID string, level int)
- func UpdateUser(userUUID string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentVideoTitle ¶
GetCurrentVideoTitle return current video title by roomPath
func GetUserUUIDByID ¶
GetUserUUIDByID search in all caches user with userID and return his UUID
func GetUsersCount ¶
GetUsersCount return users count in room by roomPath
func UpdatePermissions ¶
UpdatePermissions update permissions in a room
func UpdateRole ¶
UpdateRole add a new role for a user in a cache and update a roles cache
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.