idOrName -> name (#169)

This commit is contained in:
David Colburn
2021-11-03 15:11:44 -05:00
committed by GitHub
parent 45aeafd3af
commit 862a212b93
3 changed files with 13 additions and 42 deletions
+2 -2
View File
@@ -16,9 +16,9 @@ import (
//counterfeiter:generate . RoomStore
type RoomStore interface {
StoreRoom(ctx context.Context, room *livekit.Room) error
LoadRoom(ctx context.Context, idOrName string) (*livekit.Room, error)
LoadRoom(ctx context.Context, name string) (*livekit.Room, error)
ListRooms(ctx context.Context) ([]*livekit.Room, error)
DeleteRoom(ctx context.Context, idOrName string) error
DeleteRoom(ctx context.Context, name string) error
// enable locking on a specific room to prevent race
// returns a (lock uuid, error)