Documentation ¶
Index ¶
Constants ¶
View Source
const ( CreateRoom = "/create_room" JoinRoom = "/join_room" DeleteRoom = "/delete_room" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { CdnClient cdn.Client ManagerClient manager.Client MnGen mnemonic.Generator Router *mux.Router Tracer trace.Tracer Config config.Config }
func (*Server) CreateRoomHandler ¶
func (s *Server) CreateRoomHandler(rw http.ResponseWriter, r *http.Request)
func (*Server) DeleteRoomHandler ¶
func (s *Server) DeleteRoomHandler(rw http.ResponseWriter, r *http.Request)
func (*Server) JoinRoomHandler ¶
func (s *Server) JoinRoomHandler(rw http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.