data

package
v0.0.0-...-274aba1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigInit

func ConfigInit(config *entities.Configuration) error

ConfigInit is a function to initialize app configuration

Types

type Email

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

Email defines a struct for emailing flow

func NewEmail

func NewEmail(logger hclog.Logger) *Email

NewEmail creates a new Email struct

func (*Email) IsEmailValid

func (email *Email) IsEmailValid(em string) bool

IsEmailValid checks if the email provided passes the required structure and length test. It also checks the domain has a valid MX record.

Jump to

Keyboard shortcuts

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