package
0.18.3
Repository: https://github.com/shellhub-io/shellhub.git
Documentation: pkg.go.dev

# Functions

GetTagFromStructure returns the validation's tag from structure.
New creates a new ShellHub validator.

# Constants

No description provided by the author
DeviceNameTag contains the rule to validate the device's name.
NameTag contains the rule to validate the user's name.
PrivateKeyPEMTag contains the rule to validate a private key.
RegexpTag indicates that the regexp must be valide.
UserNameTag contains the rule to validate the user's username.
UserPasswordTag contains the rule to validate the user's password.

# Variables

No description provided by the author
No description provided by the author
Rules is a slice that contains all validation rules.

# Structs

Rule is a struct that contains a validation rule.
Validator is the ShellHub validator.

# Type aliases

Tag is the rule used to validate a variable or a structure's field.