Documentation ¶
Overview ¶
Package validations contains validation functions for ent fields
Package validations contains validation functions for ent fields
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidIPAddress = errors.New("invalid ip address")
ErrInvalidIPAddress is returned when the given string is not a valid IP address
View Source
var ErrRestrictedPort = errors.New("port number restricted")
ErrRestrictedPort is returned when the given port is restricted
Functions ¶
func RestrictedPorts ¶ added in v0.0.26
RestrictedPorts validates if the given port is restricted
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.