frostfs-node/pkg/innerring/processors/netmap/nodevalidation/maddress/validator.go
Elizaveta Chichindaeva cc7a723d77 [#1320] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-11 10:40:02 +03:00

17 lines
486 B
Go

package maddress
// Validator is an utility that verifies node
// multiaddress.
//
// For correct operation, the Validator must be created
// using the constructor (New). After successful creation,
// the Validator is immediately ready to work through API.
type Validator struct{}
// New creates a new instance of the Validator.
//
// The created Validator does not require additional
// initialization and is completely ready for work.
func New() *Validator {
return &Validator{}
}