boulder: github.com/letsencrypt/boulder/iana Index | Files

package iana

import "github.com/letsencrypt/boulder/iana"

Index

Package Files

iana.go

func ExtractSuffix Uses

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.

Package iana imports 2 packages (graph) and is imported by 12 packages. Updated 2019-01-29. Refresh now. Tools for package owners.