Help us shape the future of Go! Take the 2026 Go Developer Survey

sendgrid

package
v1.15.6 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close added in v1.15.0

func Close() error

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) Close added in v1.15.0

func (sg *SendGrid) Close() error

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