Versions in this module Expand all Collapse all v0 v0.1.0 Oct 20, 2025 Changes in this version + const FormatToolhive + const FormatUpstream + func HealthRouter(svc service.RegistryService) http.Handler + func LoggingMiddleware(next http.Handler) http.Handler + func NewServer(svc service.RegistryService, opts ...ServerOption) *chi.Mux + 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 registry.ServerMetadata) ServerDetailResponse + type ServerOption func(*serverConfig) + func WithMiddlewares(mw ...func(http.Handler) http.Handler) ServerOption + type ServerSummaryResponse struct + Description string + Name string + Status string + Tier string + ToolsCount int + Transport string + func NewServerSummaryResponseForTesting(server registry.ServerMetadata) ServerSummaryResponse