Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *logrus.Logger
Logger is the API Logger Instance
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(r *mux.Router, sessionManager *rtc.SessionManager, userRepo *mgt.Repository, mw *auth.Middleware)
RegisterRoutes for the API
Types ¶
type SessionController ¶
type SessionController struct { TemplateBasePath string SessionManager *rtc.SessionManager }
SessionController for Admin Dashboard
func NewSessionController ¶
func NewSessionController(sessionManager *rtc.SessionManager) SessionController
NewSessionController Controller
func (*SessionController) GetSession ¶
func (d *SessionController) GetSession(w http.ResponseWriter, r *http.Request)
GetSession Handles the GetRequest to Join a Session
func (*SessionController) PostNewSession ¶
func (d *SessionController) PostNewSession(w http.ResponseWriter, r *http.Request)
PostNewSession Handles the PostRequest to create a new Session
func (*SessionController) PostSDPSession ¶
func (d *SessionController) PostSDPSession(w http.ResponseWriter, r *http.Request)
PostSDPSession Handles the SDP for the Session
type StartController ¶
type StartController struct { TemplateBasePath string SessionManager *rtc.SessionManager }
StartController for Admin Dashboard
func NewStartController ¶
func NewStartController(sessionManager *rtc.SessionManager) StartController
NewStartController Controller
func (*StartController) Get ¶
func (d *StartController) Get(w http.ResponseWriter, r *http.Request)
Get Handles the GetRequest in this Controller
Click to show internal directories.
Click to hide internal directories.