package
1.10.20
Repository: https://github.com/code-payments/code-server.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

IsE164Format returns whether a string is a E.164 formatted phone number.
IsMccIsoCode determines whether a MCC is associated with the provided ISO country code.
IsVerificationCode returns whether a string is a 4-10 digit numberical verification code.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrInvalidNumber is returned if the phone number is invalid.
ErrInvalidVerificationCode is returned when the verification does not match what's expected in a Confirm call.
ErrNoVerification indicates that no verification is in progress for the provided phone number in a Confirm call.
ErrRateLimited indicates that the call was rate limited.
ErrUnsupportedPhoneType indicates the provided phone number maps to a type of phone that isn't supported.
No description provided by the author
No description provided by the author

# Structs

Metadata provides additional information regarding a phone number.

# Interfaces

No description provided by the author

# Type aliases

Identifies type of phone.