Documentation ¶
Index ¶
- func PrettyPrint(v interface{})
- func RandomHex(n int) (string, error)
- type MailgunMockServer
- func (m *MailgunMockServer) ActivateDomain(domainName string)
- func (m *MailgunMockServer) ActivateMXDomain(domainName string)
- func (m *MailgunMockServer) AddDomain(domainName string)
- func (m *MailgunMockServer) DeleteDomain(domainName string)
- func (m *MailgunMockServer) FailRoutes(action, id string)
- func (m *MailgunMockServer) FailedDomain(domainName string)
- func (m *MailgunMockServer) Start()
- func (m *MailgunMockServer) Stop()
- func (m *MailgunMockServer) URL() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MailgunMockServer ¶
type MailgunMockServer struct {
// contains filtered or unexported fields
}
func NewMailgunServer ¶
func NewMailgunServer(apiToken string) *MailgunMockServer
func (*MailgunMockServer) ActivateDomain ¶
func (m *MailgunMockServer) ActivateDomain(domainName string)
func (*MailgunMockServer) ActivateMXDomain ¶ added in v1.2.0
func (m *MailgunMockServer) ActivateMXDomain(domainName string)
func (*MailgunMockServer) AddDomain ¶
func (m *MailgunMockServer) AddDomain(domainName string)
func (*MailgunMockServer) DeleteDomain ¶
func (m *MailgunMockServer) DeleteDomain(domainName string)
func (*MailgunMockServer) FailRoutes ¶ added in v1.3.0
func (m *MailgunMockServer) FailRoutes(action, id string)
func (*MailgunMockServer) FailedDomain ¶
func (m *MailgunMockServer) FailedDomain(domainName string)
func (*MailgunMockServer) Start ¶
func (m *MailgunMockServer) Start()
func (*MailgunMockServer) Stop ¶
func (m *MailgunMockServer) Stop()
func (*MailgunMockServer) URL ¶
func (m *MailgunMockServer) URL() string
Click to show internal directories.
Click to hide internal directories.