Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultWalletFeaturesValidation = WalletFeaturesValidation{ MaxListLength: 5, MaxFeatureLength: 15, ReservedCharacters: []rune{',', '|'}, }
DefaultWalletFeaturesValidation contains default wallet features list validation config.
View Source
var WalletFeatureValidationError = errs.Class("wallet feature validation")
WalletFeatureValidationError wallet feature validation errors class.
Functions ¶
This section is empty.
Types ¶
type WalletFeaturesValidation ¶
type WalletFeaturesValidation struct { MaxListLength int MaxFeatureLength int ReservedCharacters []rune }
WalletFeaturesValidation contains config for wallet feature validation.
func (*WalletFeaturesValidation) Validate ¶
func (validation *WalletFeaturesValidation) Validate(features []string) error
Validate validates wallet features list.
Click to show internal directories.
Click to hide internal directories.