peoplewire

package
v1.172.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: Apache-2.0 Imports: 17 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 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.

Index

Constants

View Source
const Section = "personas"

Section is the platform_settings section personas.combine is saved in; the people tables' trigger watches it.

Variables

This section is empty.

Functions

func Mount

func Mount(mux *http.ServeMux, p *platform.Platform, auth func() func(http.Handler) http.Handler,
	author func(*http.Request) string, notify *notifydelivery.Handle,
)

Mount 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.

func MountSelf

func MountSelf(deps *portal.Deps, p *platform.Platform)

MountSelf adds the signed-in person's own account routes to the portal.

func Service

func Service(p *platform.Platform) *people.Service

Service is the people service over p, or nil without a database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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