mailgun

package
v0.0.0-...-04c6e67 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Domain    string `toml:"domain"`
	SecretKey string `toml:"secret_key"`
	PublicKey string `toml:"public_key"`
	Email     string `toml:"email"`
}

type MailService

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

func New

func New(cfg Config) *MailService

func (*MailService) ReceiveMail

func (ms *MailService) ReceiveMail() <-chan torus.Mail

func (*MailService) SendMail

func (ms *MailService) SendMail(m torus.Mail) error

Jump to

Keyboard shortcuts

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