Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IPv6Address = regexp.MustCompile(`^` + ipv6Address + `$`) IPv6AddressLiteral = regexp.MustCompile(`^\[` + ipv6Address + `\]$`) )
View Source
var ClientSecret = regexp.MustCompile(`^[0-9a-zA-Z.=_\-]+$`)
View Source
var Hostname = regexp.MustCompile(`(?i)^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$`)
View Source
var IPv4Address = regexp.MustCompile(`^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$`)
Functions ¶
func IsClientSecret ¶
func IsHostname ¶
func IsIPv4Address ¶
func IsIPv6Address ¶
func IsIPv6AddressLiteral ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.