(w http.ResponseWriter, _ *http.Request)
| 307 | } |
| 308 | |
| 309 | func (s *Server) platform(w http.ResponseWriter, _ *http.Request) { |
| 310 | writeJSON(w, http.StatusOK, map[string]string{"platform": platformName()}) |
| 311 | } |
| 312 | |
| 313 | func (s *Server) vaultInfo(w http.ResponseWriter, _ *http.Request) { |
| 314 | writeJSON(w, http.StatusOK, s.currentVault().Info()) |
nothing calls this directly
no test coverage detected