notices

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package notices tells a workspace what needs its attention, worked out from its current state each time it's asked: nothing is stored, so a notice goes away when its cause is fixed. Each module reports its own; this collects them.

Index

Constants

This section is empty.

Variables

View Source
var Sources = []Source{video.Notices, keyNotices, func(ctx context.Context, q core.TenantTx, p core.Principal, _ time.Time) ([]core.Notice, error) {
	return supportNotices(ctx, q, p)
}}

Sources are the modules' notices. An application built on ulka-vms adds its own at start.

Functions

func Routes

func Routes(mux *http.ServeMux, d *core.Deps)

Types

type Source

type Source func(ctx context.Context, q core.TenantTx, p core.Principal, now time.Time) ([]core.Notice, error)

Source reports one module's notices for the caller, checking the caller's permission itself.

Jump to

Keyboard shortcuts

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