(w http.ResponseWriter, r *http.Request)
| 447 | } |
| 448 | |
| 449 | func (s *Server) sessionStatus(w http.ResponseWriter, r *http.Request) { |
| 450 | cfg := s.currentConfig() |
| 451 | writeJSON(w, http.StatusOK, sessionStatusPayload(s.requestAuthenticatedViaSession(r), cfg)) |
| 452 | } |
| 453 | |
| 454 | func (s *Server) sessionLogin(w http.ResponseWriter, r *http.Request) { |
| 455 | cfg := s.currentConfig() |
nothing calls this directly
no test coverage detected