package server import ( "github.com/containers/libpod/pkg/api/handlers" "github.com/gorilla/mux" ) func (s *APIServer) registerVersionHandlers(r *mux.Router) error { r.Handle("/version", s.APIHandler(handlers.VersionHandler)) r.Handle(VersionedPath("/version"), s.APIHandler(handlers.VersionHandler)) return nil }