notify

package
v0.98.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	OpSend   = "send"
	OpHealth = "health"
)

Variables

This section is empty.

Functions

func Register

func Register() error

Register registers the notify capability with hub and invoker 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