Documentation ¶
Index ¶
- type Server
- func (s *Server) CreateGroup(w http.ResponseWriter, r *http.Request)
- func (s *Server) CreateQuestion(w http.ResponseWriter, r *http.Request)
- func (s *Server) CreateTest(w http.ResponseWriter, r *http.Request)
- func (s *Server) CreateUser(w http.ResponseWriter, r *http.Request)
- func (s *Server) DeleteGroup(w http.ResponseWriter, r *http.Request)
- func (s *Server) DeleteQuestion(w http.ResponseWriter, r *http.Request)
- func (s *Server) DeleteTest(w http.ResponseWriter, r *http.Request)
- func (s *Server) DeleteUser(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetGroup(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetGroups(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetQuestion(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetQuestions(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetTest(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetTests(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetUser(w http.ResponseWriter, r *http.Request)
- func (s *Server) GetUsers(w http.ResponseWriter, r *http.Request)
- func (s *Server) Index(w http.ResponseWriter, r *http.Request)
- func (s *Server) Initialize(Dbdriver, DbUser, DbPassword, DbPort, DbHost, DbName string)
- func (s *Server) Login(w http.ResponseWriter, r *http.Request)
- func (s *Server) Start(addr string, r *mux.Router)
- func (s *Server) UpdateGroup(w http.ResponseWriter, r *http.Request)
- func (s *Server) UpdateQuestion(w http.ResponseWriter, r *http.Request)
- func (s *Server) UpdateTest(w http.ResponseWriter, r *http.Request)
- func (s *Server) UpdateUser(w http.ResponseWriter, r *http.Request)
- func (s *Server) UsersToken(email, password string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
func (*Server) CreateGroup ¶
func (s *Server) CreateGroup(w http.ResponseWriter, r *http.Request)
func (*Server) CreateQuestion ¶
func (s *Server) CreateQuestion(w http.ResponseWriter, r *http.Request)
func (*Server) CreateTest ¶
func (s *Server) CreateTest(w http.ResponseWriter, r *http.Request)
func (*Server) CreateUser ¶
func (s *Server) CreateUser(w http.ResponseWriter, r *http.Request)
func (*Server) DeleteGroup ¶
func (s *Server) DeleteGroup(w http.ResponseWriter, r *http.Request)
func (*Server) DeleteQuestion ¶
func (s *Server) DeleteQuestion(w http.ResponseWriter, r *http.Request)
func (*Server) DeleteTest ¶
func (s *Server) DeleteTest(w http.ResponseWriter, r *http.Request)
func (*Server) DeleteUser ¶
func (s *Server) DeleteUser(w http.ResponseWriter, r *http.Request)
func (*Server) GetQuestion ¶
func (s *Server) GetQuestion(w http.ResponseWriter, r *http.Request)
func (*Server) GetQuestions ¶
func (s *Server) GetQuestions(w http.ResponseWriter, r *http.Request)
func (*Server) Initialize ¶
func (*Server) UpdateGroup ¶
func (s *Server) UpdateGroup(w http.ResponseWriter, r *http.Request)
func (*Server) UpdateQuestion ¶
func (s *Server) UpdateQuestion(w http.ResponseWriter, r *http.Request)
func (*Server) UpdateTest ¶
func (s *Server) UpdateTest(w http.ResponseWriter, r *http.Request)
func (*Server) UpdateUser ¶
func (s *Server) UpdateUser(w http.ResponseWriter, r *http.Request)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.