email

package
v0.0.0-...-c5bcced Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

The check/email package checks the validity of an email address.

var lib = require('check/email');
var res = lib.check('[email protected]');
console.log(res);

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(orb *orbit.Orbit) interface{}

Types

type Info

type Info struct {
	Valid   bool   `console:"valid" codec:"valid"`
	User    string `console:"user" codec:"user"`
	Host    string `console:"host" codec:"host"`
	Address string `console:"address" codec:"address"`
}

type Module

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

func (*Module) Check

func (this *Module) Check(value string) (info *Info)

Jump to

Keyboard shortcuts

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