Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToHex ¶
ConvertToHex returns a hexadecimal string representation of a byte
func HostAddrValidator ¶
HostAddrValidator parser host address passed as a string, and make sure it follows X.X.X.X:YYZZ format
func MessageHex ¶
MessageHex returns Hexadecimal string of a byte slice passed as a parameter
func SetupSignalHandler ¶
func SetupSignalHandler() (stopCh <-chan struct{})
SetupSignalHandler creates and returns a channel. The channel will be closed up on receiving
the interrupt signal (Ctrl-C), if a second interrupt signal is received, the calling program is forced to terminate.
func URLAddrValidation ¶
URLAddrValidation validates that passed addrress has valid URL formating.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.