examples

package
v4.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBounce

func AddBounce(domain, apiKey string) error

func AddDomain

func AddDomain(domain, apiKey string) (mailgun.DomainResponse, error)

func AddDomainIPS

func AddDomainIPS(domain, apiKey string) error

func AddListMember

func AddListMember(domain, apiKey string) error

func AddListMembers

func AddListMembers(domain, apiKey string) error

func AddTemplateVersion

func AddTemplateVersion(domain, apiKey string) error

func ChangePassword

func ChangePassword(domain, apiKey string) error

func CreateComplaint

func CreateComplaint(domain, apiKey string) error

func CreateCredential

func CreateCredential(domain, apiKey string) error

func CreateDomain

func CreateDomain(domain, apiKey string) (mailgun.DomainResponse, error)

func CreateExport

func CreateExport(domain, apiKey string) error

func CreateMailingList

func CreateMailingList(domain, apiKey string) (mailgun.MailingList, error)

func CreateRoute

func CreateRoute(domain, apiKey string) (mailgun.Route, error)

func CreateTemplate

func CreateTemplate(domain, apiKey string) error

func CreateUnsubscribe

func CreateUnsubscribe(domain, apiKey string) error

func CreateUnsubscribeWithTag

func CreateUnsubscribeWithTag(domain, apiKey string) error

func CreateWebhook

func CreateWebhook(domain, apiKey string) error

func DeleteCredential

func DeleteCredential(domain, apiKey string) error

func DeleteDomain

func DeleteDomain(domain, apiKey string) error

func DeleteDomainIP

func DeleteDomainIP(domain, apiKey string) error

func DeleteListMember

func DeleteListMember(domain, apiKey string) error

func DeleteMailingList

func DeleteMailingList(domain, apiKey string) error

func DeleteTag

func DeleteTag(domain, apiKey string) error

func DeleteTemplate

func DeleteTemplate(domain, apiKey string) error

func DeleteTemplateVersion

func DeleteTemplateVersion(domain, apiKey string) error

func DeleteWebhook

func DeleteWebhook(domain, apiKey string) error

func GetBounce

func GetBounce(domain, apiKey string) (mailgun.Bounce, error)

func GetComplaints

func GetComplaints(domain, apiKey string) (mailgun.Complaint, error)

func GetDomain

func GetDomain(domain, apiKey string) (mailgun.DomainResponse, error)

func GetDomainConnection

func GetDomainConnection(domain, apiKey string) (mailgun.DomainConnection, error)

func GetDomainTracking

func GetDomainTracking(domain, apiKey string) (mailgun.DomainTracking, error)

func GetExport

func GetExport(domain, apiKey string) (mailgun.Export, error)

func GetIP

func GetIP(domain, apiKey string) (mailgun.IPAddress, error)

func GetMembers

func GetMembers(domain, apiKey string) ([]mailgun.Member, error)

func GetRoute

func GetRoute(domain, apiKey string) (mailgun.Route, error)

func GetStats

func GetStats(domain, apiKey string) ([]mailgun.Stats, error)

func GetTagLimits

func GetTagLimits(domain, apiKey string) (mailgun.TagLimits, error)

func GetTemplate

func GetTemplate(domain, apiKey string) (mailgun.Template, error)

func GetTemplateVersion

func GetTemplateVersion(domain, apiKey string) (mailgun.TemplateVersion, error)

func GetWebhook

func GetWebhook(domain, apiKey string) ([]string, error)

func ListActiveTemplates

func ListActiveTemplates(domain, apiKey string) ([]mailgun.Template, error)

func ListBounces

func ListBounces(domain, apiKey string) ([]mailgun.Bounce, error)

func ListComplaints

func ListComplaints(domain, apiKey string) ([]mailgun.Complaint, error)

func ListCredentials

func ListCredentials(domain, apiKey string) ([]mailgun.Credential, error)

func ListDomainIPS

func ListDomainIPS(domain, apiKey string) ([]mailgun.IPAddress, error)

func ListDomains

func ListDomains(domain, apiKey string) ([]mailgun.Domain, error)

func ListExports

func ListExports(domain, apiKey string) ([]mailgun.Export, error)

func ListIPS

func ListIPS(domain, apiKey string) ([]mailgun.IPAddress, error)

func ListMailingLists

func ListMailingLists(domain, apiKey string) ([]mailgun.MailingList, error)

func ListRoutes

func ListRoutes(domain, apiKey string) ([]mailgun.Route, error)

func ListTags

func ListTags(domain, apiKey string) ([]mailgun.Tag, error)

func ListTemplateVersions

func ListTemplateVersions(domain, apiKey string) ([]mailgun.TemplateVersion, error)

func ListTemplates

func ListTemplates(domain, apiKey string) ([]mailgun.Template, error)

func ListUnsubscribes

func ListUnsubscribes(domain, apiKey string) ([]mailgun.Unsubscribe, error)

func ListWebhooks

func ListWebhooks(domain, apiKey string) (map[string][]string, error)

func ParseAddress

func ParseAddress(apiKey string) ([]string, []string, error)

func PrintEventLog

func PrintEventLog(domain, apiKey string) error

func PrintEvents

func PrintEvents(domain, apiKey string) error

func PrintFailedEvents

func PrintFailedEvents(domain, apiKey string) error

func ResendMessage

func ResendMessage(domain, apiKey string) (string, string, error)

func SendComplexMessage

func SendComplexMessage(domain, apiKey string) (string, error)

func SendInlineImage

func SendInlineImage(domain, apiKey string) (string, error)

func SendMessageNoTracking

func SendMessageNoTracking(domain, apiKey string) (string, error)

func SendMessageWithTemplate

func SendMessageWithTemplate(domain, apiKey string) error

func SendMimeMessage

func SendMimeMessage(domain, apiKey string) (string, error)

func SendScheduledMessage

func SendScheduledMessage(domain, apiKey string) (string, error)

func SendSimpleMessage

func SendSimpleMessage(domain, apiKey string) (string, error)

func SendTaggedMessage

func SendTaggedMessage(domain, apiKey string) (string, error)

func SendTemplateMessage

func SendTemplateMessage(domain, apiKey string) (string, error)

func SendWithConnectionOptions

func SendWithConnectionOptions(domain, apiKey string) (string, error)

func UpdateDomainConnection

func UpdateDomainConnection(domain, apiKey string) error

func UpdateMember

func UpdateMember(domain, apiKey string) error

func UpdateTemplate

func UpdateTemplate(domain, apiKey string) error

func UpdateTemplateVersion

func UpdateTemplateVersion(domain, apiKey string) error

func UpdateWebhook

func UpdateWebhook(domain, apiKey string) error

func ValidateEmail

func ValidateEmail(apiKey string) (mailgun.EmailVerification, error)

func VerifyWebhookSignature

func VerifyWebhookSignature(domain, apiKey, timestamp, token, signature string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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