Documentation ¶
Index ¶
- func Verify(pin string, p Pin) error
- func VerifyPassword(password string, hashedPassword []byte) error
- func VerifyRecover(recoveryPin string, p Pin) error
- type Amount
- type CreditorName
- type Currency
- type EmailAddress
- type EmailAddressError
- type Money
- type MoneyConverted
- type Owner
- type Password
- type PasswordError
- type Pin
- type PinError
- type PinValue
- type TypeError
- type WalletNumber
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyPassword ¶
func VerifyRecover ¶
Types ¶
type CreditorName ¶
type CreditorName string
func NewCreditor ¶
func NewCreditor(name string) (CreditorName, error)
func (*CreditorName) String ¶
func (cr *CreditorName) String() string
type EmailAddress ¶
type EmailAddress struct {
Value string
}
func CreateEmailAddress ¶
func CreateEmailAddress(emailAddress string) (*EmailAddress, error)
type EmailAddressError ¶
type EmailAddressError struct {
ErrorMsg string
}
func (EmailAddressError) Error ¶
func (e EmailAddressError) Error() string
type MoneyConverted ¶
type MoneyConverted float64
func NewMoneyConverted ¶
func NewMoneyConverted(amount Amount, to, from Currency) MoneyConverted
type PasswordError ¶
type PasswordError struct {
ErrorMsg string
}
func (PasswordError) Error ¶
func (e PasswordError) Error() string
type WalletNumber ¶
type WalletNumber string
func NewWalletNumber ¶
func NewWalletNumber(walletNo string) (WalletNumber, error)
func (*WalletNumber) String ¶
func (w *WalletNumber) String() string
Click to show internal directories.
Click to hide internal directories.