iana

package
v0.0.0-...-d64132e Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractSuffix

func ExtractSuffix(name string) (string, error)

ExtractSuffix returns the public suffix of the domain using only the "ICANN" section of the Public Suffix List database. If the domain does not end in a suffix that belongs to an IANA-assigned domain, ExtractSuffix returns an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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