nodeoperator

package
v1.53.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL