{"modulePath":"github.com/txn2/mcp-data-platform","version":"v1.171.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package peoplewire\n\nPackage peoplewire assembles the people admin API (#2269, #2882, #2883) from the platform: the resolver the sign-in paths read, the persona registry, the audit log, what the deployment serves, and the personas settings section.\n\n## Constants\n\n```go\nconst Section = \"personas\"\n```\nSection is the platform\\_settings section personas.combine is saved in; the people tables' trigger watches it.\n\n## Functions\n\n```go\nfunc Mount(mux *http.ServeMux, p *platform.Platform, auth func() func(http.Handler) http.Handler,\n\tauthor func(*http.Request) string, notify *notifydelivery.Handle,\n)\n```\nMount registers the people routes behind the admin authentication auth builds, asked for only once there is a people service; notify, when set, emails a person when an address is added to their account.\n\n```go\nfunc MountSelf(deps *portal.Deps, p *platform.Platform)\n```\nMountSelf adds the signed-in person's own account routes to the portal.\n\n```go\nfunc Service(p *platform.Platform) *people.Service\n```\nService is the people service over p, or nil without a database.\n\n","path":"github.com/txn2/mcp-data-platform/internal/httpserver/peoplewire","name":"peoplewire","synopsis":"Package peoplewire assembles the people admin API (#2269, #2882, #2883) from the platform: the resolver the sign-in paths read, the persona registry, the audit log, what the deployment serves, and the personas settings section.","isRedistributable":true}
