notify

package
v0.92.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package notify provides the notification capability for the ability framework. It allows pipeline steps to send notifications via the notification gateway.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Descriptor

func Descriptor() hub.Descriptor

Descriptor returns the hub capability descriptor for notify.

func Register

func Register() error

Register registers the notify capability invokers with the ability registry.

func Send

func Send(ctx context.Context, uid types.Uid, templateID string, channels []string, payload map[string]any) error

Send dispatches a notification through the notification gateway. It renders the template for the given templateID and sends via each channel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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