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

postmark

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPostmark

func NewPostmark(logger logger.Logger) bindings.OutputBinding

NewPostmark returns a new Postmark bindings instance.

Types

type Postmark

type Postmark struct {
	// contains filtered or unexported fields
}

Postmark allows sending of emails using the 3rd party Postmark service.

func (*Postmark) GetComponentMetadata added in v1.11.0

func (p *Postmark) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

GetComponentMetadata returns the metadata of the component.

func (*Postmark) Init

func (p *Postmark) Init(_ context.Context, metadata bindings.Metadata) error

Init does metadata parsing and not much else :).

func (*Postmark) Invoke

Invoke does the work of sending message to Postmark API.

func (*Postmark) Operations

func (p *Postmark) Operations() []bindings.OperationKind

Operations returns list of operations supported by Postmark binding.

Jump to

Keyboard shortcuts

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