domain_puns
Types
Representation of a selected domain.
pub type Domain {
Standard(domain: String)
Punycode(domain: String, parsed: String)
}
Constructors
-
Standard(domain: String)A typical domain. Only one representation, the text value.
-
Punycode(domain: String, parsed: String)A domain with punycode. Has both the actual text value, and its parsed version.
Values
pub fn suggestions(
top_level: List(String),
name: String,
) -> List(Domain)
Uses the list of top-level domains to suggest domains for your site’s name.