mail

package
v0.0.0-...-fbfacd3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugProvider

type DebugProvider struct{}

func (*DebugProvider) SendLogin

func (dp *DebugProvider) SendLogin(user, code string) error

type MailgunConfig

type MailgunConfig struct {
	Sender       string
	SenderDomain string
	APIKey       string
	UserDomain   string
}

type MailgunProvider

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

func (*MailgunProvider) SendLogin

func (mp *MailgunProvider) SendLogin(user, code string) error

type Provider

type Provider interface {
	SendLogin(user, code string) error
}

func NewMailgunProvider

func NewMailgunProvider(cfg *MailgunConfig) Provider

Jump to

Keyboard shortcuts

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