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 MessageStore ¶
type MessageStore interface {
}
MessageStore is the interface for message storage (used by DevBox). This allows providers to store messages without circular imports.
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.
Click to show internal directories.
Click to hide internal directories.