Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvAccessorCtor ¶
func EnvAccessorCtor() pkgadapter.EnvConfigAccessor
EnvAccessorCtor for configuration parameters
func NewTarget ¶
func NewTarget(ctx context.Context, envAcc pkgadapter.EnvConfigAccessor, ceClient cloudevents.Client) pkgadapter.Adapter
NewTarget adapter implementation
Types ¶
type EmailMessage ¶
type EmailMessage struct { Message string `json:"message,omitempty"` MediaURLs []*url.URL `json:"media_urls,omitempty"` FromName string `json:"fromname,omitempty"` FromEmail string `json:"fromemail,omitempty"` ToName string `json:"toname,omitempty"` ToEmail string `json:"toemail,omitempty"` Subject string `json:"subject,omitempty"` }
EmailMessage targeting Sendgrid
Click to show internal directories.
Click to hide internal directories.