address

package
v0.0.0-...-c002953 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2016 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EMAIL_FORMAT = `^\+1[0-9]{10}@smtp.zipwhip.com$`
	PHONE_FORMAT = `^\+1[0-9]{10}$`
)

Variables

View Source
var (
	EMAIL_MATCHER *regexp.Regexp
	PHONE_MATCHER *regexp.Regexp
)

Functions

func IsValidZipwhipAddress

func IsValidZipwhipAddress(emailAddress []byte) error

Types

type ZipwhipAddress

type ZipwhipAddress struct {
	Sender  []byte
	Address mail.Address
}

func NewZipwhipAddress

func NewZipwhipAddress() *ZipwhipAddress

func (*ZipwhipAddress) Parse

func (za *ZipwhipAddress) Parse(emailAddress []byte) error

Jump to

Keyboard shortcuts

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