Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
Hub manages notification delivery in the Mana framework.
func (*Hub) Broadcast ¶
func (h *Hub) Broadcast(ctx context.Context, n core.Notification)
Broadcast sends a notification to all online users.
func (*Hub) Unregister ¶
Unregister removes a user from the notification registry.
Click to show internal directories.
Click to hide internal directories.