Documentation ¶
Overview ¶
Package utils ...
This package contains all the utility functions used by the SDK This package is internal to the SDK
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertMessageToARF ¶
ConvertMessageToARF converts the message to ARF format it takes fields of message type and convert to ARF format(JSON)
func ConvertMetricToARF ¶
ConvertMetricToARF converts the metric to ARF format it takes fields of metrics and convert to ARF format(JSON)
func GetSeqTag ¶
GetSeqTag return the sequence tag based on the operation if the operation is "fnC" it returns "seq" if the operation is "fnR" it returns "cseq" if other operation return empty
func IsValidHost ¶
IsValidHost checks the given connection details are valid Returns true if valid hostName & hostPort Returns false if invalid hostName & hostPort
func IsValidPath ¶
IsValidPath finds the given path is a valid one or not Returns true if valid Retruns false if invalid
Types ¶
This section is empty.