Versions in this module Expand all Collapse all v1 v1.117.0 Jul 29, 2026 Changes in this version + type AudienceReader interface + Eligible func(ctx context.Context, t mention.Target, emails []string) ([]string, error) + List func(ctx context.Context, t mention.Target, opts mention.ListOptions) ([]mention.Person, error) + type Deps struct + Audience AudienceReader + Caller func(*http.Request) *Identity + Directory DirectoryReader + Threads threads.ThreadStore + type DirectoryReader interface + List func(ctx context.Context, filter userdir.Filter) ([]userdir.User, int, error) + type Handler struct + func New(deps Deps) *Handler + func (h *Handler) Register(mux *http.ServeMux, wrap func(http.Handler) http.Handler) + type Identity struct + Email string + IsAdmin bool + UserID string