Documentation ¶
Index ¶
Constants ¶
View Source
const TokenChars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+/-_="
TokenChars characters allowed in base64 encoded string.
Variables ¶
This section is empty.
Functions ¶
func ContainsInvalidChars ¶
ContainsInvalidChars returns error if the provided string contains characters outside of the allowed character set.
func ContainsTokenCharset ¶
ContainsTokenCharset checks if a string contains non-base64 encoding characters.
func ContainsValidCharset ¶
ContainsValidCharset returns error if the provided string contains characters outside of the provided character set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.