Documentation ¶
Overview ¶
Package channels provides different communication channels to notify users.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel interface { // SendMessage sends a message to users. SendMessage(ctx context.Context, userIDs []string, msg, subject, senderDisplayName string) error // SendMessageToGroup sends a message to a group. SendMessageToGroup(ctx context.Context, groupdID *groups.GroupId, msg, subject, senderDisplayName string) error }
Channel defines the methods of a communication channel.
type Mail ¶
type Mail struct {
// contains filtered or unexported fields
}
Mail is the communication channel for email.
Click to show internal directories.
Click to hide internal directories.