notify

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportReadyEvent

type ExportReadyEvent struct {
	Recipients       []string
	Channels         []string
	Locale           string
	TenantID         string
	ActorID          string
	FileName         string
	Format           string
	URL              string
	ExpiresAt        string
	Rows             int
	Parts            int
	ManifestURL      string
	Message          string
	ChannelOverrides map[string]map[string]any
	Attachments      []NotificationAttachment
}

ExportReadyEvent mirrors go-notifications OnReadyEvent, but stays in go-export.

type ExportReadyNotifier

type ExportReadyNotifier interface {
	Send(ctx context.Context, evt ExportReadyEvent) error
}

ExportReadyNotifier delivers export-ready notifications.

type NotificationAttachment

type NotificationAttachment struct {
	Filename    string
	ContentType string
	Data        []byte
	Size        int64
}

NotificationAttachment captures file payloads for notifications.

Jump to

Keyboard shortcuts

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