code: func SetEndpoint(path string, getHandler func() (http.Handler, error)) {
  	endpoints[path] = getHandler
  }
docs: // SetEndpoint can be used to add additional routes/endpoints to the HTTP server, or to override an existing route/endpoint