Documentation ¶
Index ¶
- func IsBTCAddress(str string) bool
- func IsBase64Url(str string) bool
- func IsBase64UrlWithoutPadding(str string) bool
- func IsCompactJWS(str string) bool
- func IsETHAddress(str string) bool
- func IsETHAddressNoChecksum(str string) bool
- func IsPlatform(platform string) bool
- func IsRequiredUUID(i interface{}, context interface{}) bool
- func IsUUID(v string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBTCAddress ¶
IsBTCAddress returns true if the string str is a bitcoin address
func IsBase64Url ¶
IsBase64Url returns true if the string str is base64url (encoded with the "URL and Filename safe" alphabet) https://tools.ietf.org/html/rfc4648#section-5
func IsBase64UrlWithoutPadding ¶
IsBase64UrlWithoutPadding returns true if the string str is base64url encoded with end padding omitted
func IsCompactJWS ¶
IsCompactJWS returns true if the string str is a JSW in the compact JSON serialization
func IsETHAddress ¶
IsETHAddress returns true if the string str is a ethereum address
func IsETHAddressNoChecksum ¶
IsETHAddressNoChecksum returns true if the string str is a ethereum address
func IsPlatform ¶
IsPlatform determines whether or not a given string is a recognized platform
func IsRequiredUUID ¶
func IsRequiredUUID(i interface{}, context interface{}) bool
IsRequiredUUID checks if the uuid is present
Types ¶
This section is empty.