(w http.ResponseWriter, _ *http.Request)
| 286 | } |
| 287 | |
| 288 | func (s *Server) version(w http.ResponseWriter, _ *http.Request) { |
| 289 | writeJSON(w, http.StatusOK, map[string]any{ |
| 290 | "version": "0.1.0-web", |
| 291 | "go": runtime.Version(), |
| 292 | }) |
| 293 | } |
| 294 | |
| 295 | func (s *Server) capabilities(w http.ResponseWriter, _ *http.Request) { |
| 296 | cfg := s.currentConfig() |
nothing calls this directly
no test coverage detected