package api import "net/http" // handleLinks returns the configured pointers to the metrics and log tools. The // console builds its "Dashboards and logs" buttons from it; an empty value // means that tool is not set up. func (s *Server) handleLinks(w http.ResponseWriter, _ *http.Request) { writeJSON(w, http.StatusOK, s.hooks.Store.Get().API.Links) }