Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct{}
type Email ¶
type Factory ¶
type Factory component.Factory[Channel, Config, Dependencies]
--- Factory code block ---
func NewFactory ¶
func NewFactory(mockOn ...component.MockOption) Factory
type Receiver ¶
type Receiver struct {
Email string
Webhook *WebhookReceiver
}
type WebhookReceiver ¶
type WebhookReceiver struct {
URL string `json:"url"`
}
func (*WebhookReceiver) Validate ¶
func (r *WebhookReceiver) Validate() error
Click to show internal directories.
Click to hide internal directories.