utils

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrettyPrint

func PrettyPrint(v interface{})

PrettyPrint for debug only

func RandomHex added in v1.2.0

func RandomHex(n int) (string, error)

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

Jump to

Keyboard shortcuts

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