Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IpDiscovery ¶
type IpDiscovery string
Define constant string values for possible inputs of the user provided IpDiscovery
const ( IpDiscoveryIPv4 IpDiscovery = "ipv4" IpDiscoveryIPv6 IpDiscovery = "ipv6" )
func (IpDiscovery) IsValid ¶
func (ipD IpDiscovery) IsValid() bool
IsValid represents a validation function on the user-inserted value for ipDiscovery Returns bool true if the value matches "ipv4", "ipv6" or empty string regardless the capitalization. False, otherwise.
func (IpDiscovery) String ¶
func (ipD IpDiscovery) String() string
Click to show internal directories.
Click to hide internal directories.