assetwire

package
v1.166.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package assetwire assembles the asset organization seams (#2511) onto the portal: each feature's routes live in its own package under internal/portal and are registered on the portal's authenticated mux through portal.Deps' Mounts hook, with the portal's authorization core. It is built only by the HTTP composition root (internal/httpserver), which calls Wire beside the other portal wiring.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartReminders

func StartReminders(ctx context.Context, p *platform.Platform, notify *notifydelivery.Handle) func()

StartReminders starts the pass that reminds the person who verified an asset and its owner that the verification expires within a week (#2503), and returns its stop. It enqueues through the notification substrate, so it starts after it and stops before it.

func Wire

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

Wire adds the asset organization routes to deps. A deployment with no database has no portal stores, and gets none of them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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