personashare

package
v1.168.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package personashare gives the portal the personas a share can be addressed to, the people each one reaches (#2089), and whether a person is external: their recorded roles resolve to a persona marked external (#2290).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func External added in v1.151.0

func External(pr *persona.Registry, users user.Store) func(ctx context.Context, email string) bool

External reports whether the person at an address is external: the roles the directory last recorded for them resolve to a persona marked external. An address the directory does not hold, or cannot read, is not.

func HasAccount added in v1.151.1

func HasAccount(users user.Store) func(ctx context.Context, email string) bool

HasAccount reports whether the directory holds an address (#2291). One it cannot read is not held.

func Wire

func Wire(deps *portal.Deps, pr *persona.Registry, users user.Store)

Wire gives the portal the personas a share can be addressed to and the people each one reaches (#2089).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL