Versions in this module Expand all Collapse all v0 v0.2.0 Nov 19, 2025 Changes in this version + const FormatToolhive + const FormatUpstream + func HealthRouter(svc service.RegistryService) http.Handler + func Router(svc service.RegistryService) http.Handler + type EnvVarDetail struct + Default string + Description string + Name string + Required bool + Secret bool + type ErrorResponse struct + Error string + type ListServersResponse struct + Servers []ServerSummaryResponse + Total int + type RegistryInfoResponse struct + LastUpdated string + Source string + TotalServers int + Version string + type Routes struct + func NewRoutes(svc service.RegistryService) *Routes + type ServerDetailResponse struct + Args []string + Description string + EnvVars []EnvVarDetail + Image string + Metadata map[string]interface{} + Name string + Permissions map[string]interface{} + RepositoryURL string + Status string + Tags []string + Tier string + Tools []string + Transport string + Volumes map[string]interface{} + func NewServerDetailResponseForTesting(server toolhivetypes.ServerMetadata) ServerDetailResponse + type ServerSummaryResponse struct + Description string + Name string + Status string + Tier string + ToolsCount int + Transport string + func NewServerSummaryResponseForTesting(server toolhivetypes.ServerMetadata) ServerSummaryResponse