sendgrid

package
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

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.

func UnmarshalDynamicTemplateData added in v1.12.0

func UnmarshalDynamicTemplateData(jsonString string, result *map[string]any) error

Function that unmarshals the Dynamic Template Data JSON String into a map[string]any.

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 added in v1.11.0

func (sg *SendGrid) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

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