code: func (s *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
  	switch r.Method {
  	case http.MethodPost, http.MethodDelete, http.MethodGet, http.MethodPatch, http.MethodPut:
  	default:
  		w.WriteHeader(http.StatusMethodNotAllowed)
  		return
  	}
  
  	h, _ := s.Handler(r)
  	h.ServeHTTP(w, r)
  }
docs: // ServeHTTP handles vAPI requests.