boulder: Index | Files

package iana

import ""


Package Files


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 8 packages. Updated 2019-01-29. Refresh now. Tools for package owners.