availability

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct{}

Validator is a utility that verifies node's accessibility according to its announced addresses.

For correct operation, the Validator must be created using the constructor (New). After successful creation, the Validator is immediately ready to work through API.

func New

func New() *Validator

New creates a new instance of the Validator.

Panics if at least one value of the parameters is invalid.

The created Validator does not require additional initialization and is completely ready for work.

func (Validator) Verify added in v0.39.0

func (v Validator) Verify(nodeInfo netmap.NodeInfo) error

Jump to

Keyboard shortcuts

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