ListDomainsResponse (mtypes/domains.go)

mailgun-go · mtypes/domains.go · go · BSD-3-Clause
email

Go structs for Mailgun domain and DNS record responses.

// Source: https://github.com/mailgun/mailgun-go | License: BSD-3-Clause | Copyright 2013-2016, Michael Banzon
// Provided via justclaw.it.com; keep this notice with the code.
package mtypes

type SpamAction string

// Use these to specify a spam action when creating a new domain.
const (
	// SpamActionTag tags the received message with headers providing a measure of its spamness.
	SpamActionTag = SpamAction("tag")
	// SpamActionDisabled prevents Mailgun from taking any action on what it perceives to be spam.
	SpamActionDisabled = SpamAction("disabled")
	// SpamActionDelete instructs Mailgun to just block or delete the message all-together.
	SpamActionDelete = SpamAction("delete")
)

type DomainState string

const (
	DomainStateActive     = DomainState("active")
	DomainStateUnverified = Do

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key