JWT token based auth

This commit is contained in:
David Zhao
2020-12-25 22:31:11 -08:00
parent 8f34bd6086
commit 804b7cb332
33 changed files with 1169 additions and 194 deletions
+3 -1
View File
@@ -3,5 +3,7 @@ package rtc
import "errors"
var (
ErrRoomIdMissing = errors.New("roomId is not set")
ErrRoomIdMissing = errors.New("room is not passed in")
ErrRoomNotFound = errors.New("requested room does not exist")
ErrPermissionDenied = errors.New("no permissions to access the room")
)