port

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatSender

type ChatSender interface {
	Send(ctx context.Context, message *contracts.ChatMessage) (*contracts.SendResult, error)
	Name() string
}

ChatSender defines the contract for sending chat/social media messages.

type EmailSender

type EmailSender interface {
	Send(ctx context.Context, email *contracts.Email) (*contracts.SendResult, error)
	Name() string
}

EmailSender defines the contract for sending emails.

type PushSender

type PushSender interface {
	Send(ctx context.Context, notification *contracts.PushNotification) (*contracts.SendResult, error)
	Name() string
}

PushSender defines the contract for sending push notifications.

type SMSSender

type SMSSender interface {
	Send(ctx context.Context, sms *contracts.SMS) (*contracts.SendResult, error)
	Name() string
}

SMSSender defines the contract for sending SMS messages.

Jump to

Keyboard shortcuts

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