Documentation
¶
Overview ¶
Package notification renders the in-app notification center and the live-updating rail bell badge. Everything here is scoped to the signed-in user, the centre used to be global, so one person opening it marked it read for everybody.
templ: version: v0.3.1001
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bell ¶
Bell is the icon-rail button + unread badge; swapped in live via /notifications/badge (websocket-pushed, slow-poll fallback).
func NewHandler ¶
NewHandler creates a new notification handler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.