Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prm ¶
type Prm struct {
SubnetClient *morphsubnet.Client
}
Prm groups the required parameters of the Validator's constructor.
All values must comply with the requirements imposed on them. Passing incorrect parameter values will result in constructor failure (error or panic depending on the implementation).
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator is an utility that verifies node subnet allowance.
For correct operation, Validator must be created using the constructor (New). After successful creation, the Validator is immediately ready to work through API.
Click to show internal directories.
Click to hide internal directories.