punycode

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ASCII2Unicode

func ASCII2Unicode(ascii map[string]struct{}) map[string]struct{}

ASCII2Unicode - Convert ASCII (decoded Punycode) list to Unicode (encoded Punycode) list.

func ToASCII

func ToASCII(val string) (*string, error)

ToASCII - To ASCII (decoded Punycode).

func ToUnicode

func ToUnicode(val string) (*string, error)

ToUnicode - To Unicode (encoded Punycode).

func Unicode2ASCII

func Unicode2ASCII(unicode map[string]struct{}) map[string]struct{}

Unicode2ASCII - Convert Unicode (encoded Punycode) list to ASCII (decoded Punycode) list.

func WrapError

func WrapError(message string, err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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