punycode

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeDomain

func DecodeDomain(punycodeDomain string) (string, error)

DecodeDomain 将 Punycode 域名解码为 Unicode 域名

func DecodeDomains

func DecodeDomains(punycode []string) (decoded []string, err error)

DecodeDomains 将 Punycode 域名列表解码为 Unicode 域名

func EncodeDomain

func EncodeDomain(domain string) (string, error)

EncodeDomain 将 Unicode 域名编码为 Punycode

func EncodeDomains

func EncodeDomains(domain []string) (encoded []string, err error)

EncodeDomains 将 Unicode 域名列表编码为 Punycode

Types

This section is empty.

Jump to

Keyboard shortcuts

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