sendgrid

package
v0.0.0-...-ebb33e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

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) GetComponentMetadata

func (sg *SendGrid) GetComponentMetadata() map[string]string

GetComponentMetadata returns the metadata of the component.

func (*SendGrid) Init

func (sg *SendGrid) Init(_ context.Context, metadata bindings.Metadata) error

Init does metadata parsing and not much else :).

func (*SendGrid) Invoke

Write does the work of sending message to SendGrid API.

func (*SendGrid) Operations

func (sg *SendGrid) Operations() []bindings.OperationKind

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL