Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SourceEventSeparator - разделитель между источником и названием события. SourceEventSeparator = ":" // DefaultSource - название источника по умолчанию. DefaultSource = "EmptySource" )
View Source
const (
// ContentTypePlain - простой текст.
ContentTypePlain = "text/plain"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventEmitter ¶
EventEmitter - отправитель событий.
type EventReceiveFunc ¶ added in v0.25.0
EventReceiveFunc - получатель событий в виде функции.
type EventReceiver ¶ added in v0.25.0
EventReceiver - получатель событий.
type MailProvider ¶ added in v0.28.0
type MailProvider interface {
SendMail(ctx context.Context, from string, to []string, header textproto.MIMEHeader, body string) error
}
MailProvider - провайдер для отправки электронных писем.
Click to show internal directories.
Click to hide internal directories.