provider

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MailProvider

type MailProvider interface {
	Send(opts MailProviderSendOpts) error
}

type MailProviderSendOpts

type MailProviderSendOpts struct {
	To       string
	From     string
	ReplyTo  string
	Subject  string
	HTMLBody string
	TextBody string
}

type PostmarkProvider

type PostmarkProvider struct {
	ServerToken string
	TrackOpens  bool
}

func (*PostmarkProvider) Send

type ProviderVonage

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

func (*ProviderVonage) Send

type SMSProvider

type SMSProvider interface {
	Send(opts SMSProviderSendOpts) error
}

type SMSProviderSendOpts

type SMSProviderSendOpts struct {
	To       string
	TextBody string
}

Jump to

Keyboard shortcuts

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