formatchecker

package
v0.0.0-...-1b0da68 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidIdnEmail

func IsValidIdnEmail(idnEmail string) error

RFC 6531 [RFC6531] https://tools.ietf.org/html/rfc6531

func IsValidIdnHostname

func IsValidIdnHostname(idnHostname string) error

RFC 1034 as for hostname, or an internationalized hostname as defined by RFC 5890, section 2.3.2.3 [RFC5890]. https://tools.ietf.org/html/rfc1034 https://tools.ietf.org/html/rfc5890#section-2.3.2.3

func IsValidIri

func IsValidIri(iri string) error

A string instance is a valid against "iri" if it is a valid IRI, according to [RFC3987]. https://tools.ietf.org/html/rfc3987

func IsValidIriRef

func IsValidIriRef(iriRef string) error

A string instance is a valid against "iri-reference" if it is a valid IRI Reference (either an IRI or a relative-reference), according to [RFC3987]. https://tools.ietf.org/html/rfc3987

func IsValidURI

func IsValidURI(uri string) error

RFC3986 https://tools.ietf.org/html/rfc3986

func IsValidURITemplate

func IsValidURITemplate(uriTemplate string) error

A string instance is a valid against "uri-template" if it is a valid URI Template (of any level), according to [RFC6570]. Note that URI Templates may be used for IRIs; there is no separate IRI Template specification. https://tools.ietf.org/html/rfc6570

func IsValidUriRef

func IsValidUriRef(uriRef string) error

RFC3986 https://tools.ietf.org/html/rfc3986

Types

This section is empty.

Jump to

Keyboard shortcuts

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