punycode

package
v0.0.0-...-67537ef Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: AGPL-3.0 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