Documentation
¶
Index ¶
- func CastStringTimeFromSToMs(time string) string
- func CopyMap(old map[string]string) map[string]string
- func PrintMapAsString(toPrint map[string]string, fieldSeparator, assignmentSeparator string) string
- func SanitizeInfluxInput(input string) string
- func StringIntToStringFloat(inputInt string) string
- func StringToMap(input, entrySplitter, keyValueSplitter string) map[string]string
- func SumIntSliceTillPos(slice []int, pos int) int
- func WaitForPort(typ, address string, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CastStringTimeFromSToMs ¶
CastStringTimeFromSToMs adds three zeros to the timestring to cast from Seconds to Milliseconds.
func PrintMapAsString ¶
PrintMapAsString prints a map in the influxdb tags format.
func SanitizeInfluxInput ¶
SanitizeInfluxInput adds backslashes to special chars.
func StringIntToStringFloat ¶
StringIntToStringFloat adds a '.0' to a string if it does not contain a dot.
func StringToMap ¶
StringToMap splits a string by two splitter an returns a map.
func SumIntSliceTillPos ¶
SumIntSliceTillPos summarise an int slice till a given position.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.