Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSendGrid ¶
func NewSendGrid(logger logger.Logger) bindings.OutputBinding
NewSendGrid returns a new SendGrid bindings instance.
Types ¶
type SendGrid ¶
type SendGrid struct {
// contains filtered or unexported fields
}
SendGrid allows sending of emails using the 3rd party SendGrid service.
func (*SendGrid) Invoke ¶
func (sg *SendGrid) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
Write does the work of sending message to SendGrid API.
func (*SendGrid) Operations ¶
func (sg *SendGrid) Operations() []bindings.OperationKind
Click to show internal directories.
Click to hide internal directories.