Documentation
¶
Overview ¶
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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsightSource ¶
func InsightSource(store InsightLister, isAdmin func([]string) bool) waiting.Source
InsightSource is the insights awaiting review, for the people who review them: administrators, the only people the review queue's records are served to today.
Types ¶
type InsightLister ¶
type InsightLister interface {
List(ctx context.Context, filter knowledgekit.InsightFilter) ([]knowledgekit.Insight, int, error)
}
InsightLister lists insights; knowledgekit.InsightStore implements it.