Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameData ¶
type GameData struct { Lobby bool EnoughUsersToStart bool SubmitQuestion bool SubmitAnswers bool Voting bool VoteResult bool GameResult bool Users []string MyName string MyQuestion string UsersToQuestion []string MyQuestionsToAnswer []*engine.MyQuestionToAnswer HasAnswered bool UsersToAnswer []string MyQuestionToVoteOn *engine.MyQuestionToVoteOn HasVoted bool UsersToVote []string VotingResults *engine.VotingResults GameResults *engine.GameResults }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GameUpdateBroadcaster ¶
func (s *Server) GameUpdateBroadcaster()
func (*Server) RootHandler ¶
func (s *Server) RootHandler(w http.ResponseWriter, r *http.Request)
func (*Server) WebSocketHandler ¶
func (s *Server) WebSocketHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.