Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailTemplateData ¶
type Kafka ¶ added in v0.17.0
type Kafka struct {
// contains filtered or unexported fields
}
type MockSender ¶
type MockSender struct { Err error // contains filtered or unexported fields }
func (*MockSender) CapturedMessage ¶
func (s *MockSender) CapturedMessage() *Message
func (*MockSender) Critical ¶
func (s *MockSender) Critical(msg *Message) error
func (*MockSender) CriticalWasCalled ¶
func (s *MockSender) CriticalWasCalled() bool
func (*MockSender) Info ¶
func (s *MockSender) Info(msg *Message) error
func (*MockSender) InfoWasCalled ¶
func (s *MockSender) InfoWasCalled() bool
type MultiSender ¶
type MultiSender struct {
// contains filtered or unexported fields
}
MultiSender is a Sender which will attempt to send each Message to every included Sender and returns the first error encountered.
func NewMultiSender ¶
func NewMultiSender(logger log.Logger, cfg *service.Notifications, notifiers *service.UploadNotifiers) (*MultiSender, error)
func (*MultiSender) Critical ¶
func (ms *MultiSender) Critical(msg *Message) error
func (*MultiSender) Info ¶
func (ms *MultiSender) Info(msg *Message) error
Click to show internal directories.
Click to hide internal directories.