contactchecker

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package contactchecker offers utility functions for validating addresses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmailValid

func IsEmailValid(email string) bool

IsEmailValid checks if an email string is a valid format.

func IsPhoneValid

func IsPhoneValid(phone string) bool

IsPhoneValid checks if a phone string is a valid format.

func Validator

func Validator(method auth.DeliveryMethod) func(s string) bool

Validator returns an email or phone validator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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