{"modulePath":"github.com/txn2/mcp-data-platform","version":"v1.175.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package waitingwire\n\nPackage waitingwire assembles the Inbox's Waiting on you (#2907) for a platform: the list every source is added to as the feature that owns it is mounted, and the insights awaiting review, whose store only the platform holds.\n\n## Functions\n\n```go\nfunc InsightSource(store InsightLister, isAdmin func([]string) bool) waiting.Source\n```\nInsightSource is the insights awaiting review, for the people who review them: administrators, the only people the review queue's records are served to today.\n\n```go\nfunc New(insights InsightLister, isAdmin func([]string) bool) *waiting.Service\n```\nNew returns the list with the insight source when insights is not nil.\n\n## Types\n\n```go\ntype InsightLister interface {\n\tList(ctx context.Context, filter knowledgekit.InsightFilter) ([]knowledgekit.Insight, int, error)\n}\n```\nInsightLister lists insights; knowledgekit.InsightStore implements it.\n\n","path":"github.com/txn2/mcp-data-platform/internal/httpserver/waitingwire","name":"waitingwire","synopsis":"Package waitingwire assembles the Inbox's Waiting on you (#2907) for a platform: the list every source is added to as the feature that owns it is mounted, and the insights awaiting review, whose store only the platform holds.","isRedistributable":true}
