Documentation
¶
Index ¶
- func Base64Decode(input string, urlSafe bool) ([]byte, error)
- func Base64Encode(input []byte, urlSafe, noPadding bool) string
- func HTMLDecode(input string) string
- func HTMLEncode(input string) string
- func Hash(input []byte, algo string) (string, error)
- func HashVerify(input []byte, algo, expected string) (bool, error)
- func JWTEncode(payloadJSON string, secret string, keyPEM []byte, algo string) (string, error)
- func JWTInfoJSON(info *JWTInfo) ([]byte, error)
- func QRGenerate(input string, size int, level string) ([]byte, error)
- func QRTerminal(input string, level string) (string, error)
- func URLDecode(input string, component bool) (string, error)
- func URLEncode(input string, component bool) string
- type JWTInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Encode ¶
func HTMLDecode ¶
func HTMLEncode ¶
func JWTInfoJSON ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.