{"modulePath":"github.com/txn2/mcp-data-platform","version":"v1.167.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package embedwire\n\nPackage embedwire assembles the embed hosts list (#2069) from the platform: the administrator's stored section, the configuration file's portal.embeds.hosts, and the admin routes that edit it.\n\n## Functions\n\n```go\nfunc Mount(mux *http.ServeMux, r *embedhosts.Resolver, db *sql.DB, wrap func(http.Handler) http.Handler, author func(*http.Request) string)\n```\nMount registers the admin routes; a nil wrap or a resolver without a store mounts none.\n\n```go\nfunc New(db *sql.DB, cfg embedhosts.Config) *embedhosts.Resolver\n```\nNew builds the resolver. Without a database it serves the configuration file's list and stores nothing.\n\n","path":"github.com/txn2/mcp-data-platform/internal/httpserver/embedwire","name":"embedwire","synopsis":"Package embedwire assembles the embed hosts list (#2069) from the platform: the administrator's stored section, the configuration file's portal.embeds.hosts, and the admin routes that edit it.","isRedistributable":true}
