Documentation ¶
Index ¶
- func BoolConvertToStringSwitch(val bool) string
- func CreateFileByPatch(val string) (*os.File, error)
- func CreatePatch(val string) error
- func CreateServicePatch(deviceUUID, channelUUID, prefix string) string
- func CreateUniqID() string
- func DeleteLastSlashes(val string) string
- func FileExists(val string) (bool, error)
- func FindConfigurationRead(flagConfigurationPatch string) ([]byte, error)
- func FindConfigurationWrite(flagConfigurationPatch string, val []byte) error
- func GetCurrentFuncName() string
- func GetMD5Hash(val string) string
- func ParsURLTwoVal(val *url.URL) (string, string, error)
- func SignalToError(val int) error
- func StringConvertToInt(val string) int
- func SubStrByShowLen(val, suffix string, l int) string
- func TimeRFC3339toTime(val string) (int64, error)
- func URLDecode(val string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolConvertToStringSwitch ¶
BoolConvertToStringSwitch - translates the value into в on / off
func CreateFileByPatch ¶
CreateFileByPatch - creates a file at the specified path and continues writing there
func CreatePatch ¶
CreatePatch - creates path if it doesn't exist
func CreateServicePatch ¶
CreateServicePatch - correct path generator
func DeleteLastSlashes ¶
DeleteLastSlashes - removes an extra slash at the end of a line
func FindConfigurationRead ¶
FindConfigurationRead - searches and reads configuration from disk
func FindConfigurationWrite ¶
FindConfigurationWrite - searches and writes configuration from disk
func GetCurrentFuncName ¶
func GetCurrentFuncName() string
GetCurrentFuncName - returns the function name
func ParsURLTwoVal ¶
ParsURLTwoVal - fetches parameters from URL
func StringConvertToInt ¶
StringConvertToInt - convert string to number without error handling
func SubStrByShowLen ¶
SubStrByShowLen preparing a string for a license
func TimeRFC3339toTime ¶
TimeRFC3339toTime - parses the line into int64 unix nano
Types ¶
This section is empty.