awsses

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSSES

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

AWSSES struct exposes all the services provided by this package

func NewService

func NewService(cfg *Config) (*AWSSES, error)

NewService returns an instance of AWSES after initializing all required dependencies

func (*AWSSES) Send

func (awsses *AWSSES) Send(sender, recipient, subject, body string) (interface{}, error)

Send sends an email

type Config

type Config struct {
	Region     string
	AccessKey  string
	Secret     string
	HTTPClient *http.Client
}

Config holds all the configurations required for AWS SES to function

Jump to

Keyboard shortcuts

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