nodeoperator

package
v1.111.1-rc Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 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