Versions in this module Expand all Collapse all v1 v1.12.1 Sep 8, 2026 v1.12.0 Sep 3, 2026 Changes in this version + const DefaultRemoteURL + const MediaType + const Path + const SchemaURL + func ServeCard(w http.ResponseWriter, r *http.Request, card *ServerCard) + type Config struct + RemoteURL string + RemoteURLFunc func(*http.Request) string + Version string + type Handler struct + func NewHandler(cfg Config) *Handler + func (h *Handler) RegisterRoutes(r chi.Router) + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Remote struct + Type string + URL string + type Repository struct + ID string + Source string + URL string + type ServerCard struct + Description string + Name string + Remotes []Remote + Repository *Repository + Schema string + Title string + Version string + WebsiteURL string + func NewServerCard(cfg Config) *ServerCard