sender

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationSender

type NotificationSender interface {
	Send(ctx context.Context, n notification.Notification) (notification.NotificationResponse, error)
	BatchSend(ctx context.Context, notifications []notification.Notification) (notification.NotificationResponse, error)
}

func NewSender

func NewSender(channel channel.Channel) NotificationSender

NewSender 创建通知发送器

Jump to

Keyboard shortcuts

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