postmark

package
v1.11.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 9 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() map[string]string

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