domaincheck

package module
v0.0.0-...-dd3f718 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 4 Imported by: 0

README

DomainCheck

DomainCheck checks if a string is a valid domain name, including wildcards.

Build Status Coverage Status GoDoc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PunycodeName

func PunycodeName(domain string) string

PunycodeName returns a punycoded domain name, with wildcard properly prefixed.

func StemDomain

func StemDomain(domain string) string

StemDomain returns the stem domain with wildcard prefix stripped (if any).

func Valid

func Valid(domain string) bool

Valid return true if domain is valid

func ValidWildcard

func ValidWildcard(domain string) bool

ValidWildcard returns true if domain is a valid wildcard one

Types

This section is empty.

Jump to

Keyboard shortcuts

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