code: func (s *RepositoryServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
  	uri := r.URL.Path
  	switch uri {
  	case "/", "/charts/", "/charts/index.html", "/charts/index":
  		w.Header().Set("Content-Type", "text/html; charset=utf-8")
  		s.htmlIndex(w, r)
  	default:
  		file := strings.TrimPrefix(uri, "/charts/")
  		http.ServeFile(w, r, filepath.Join(s.RepoPath, file))
  	}
  }
docs: // ServeHTTP implements the http.Handler interface.