package
0.0.0-20210912161602-c092c37e1cdd
Repository: https://github.com/krpn/prometheus-alert-webhooker.git
Documentation: pkg.go.dev

# Functions

CheckMapIsNotEmpty returns error if any key or value from map is empty.
MD5Hash return MD5 hash of given string.
MD5HashFromTime return MD5 hash of given time.
ParsePath parses given path for endpoint, path and extension.
ReplacePlaceholders replaces placeholders for given params: s - destination string prefix - type of label: LABEL or ANNOTATION label - label/annotation name new - new value.
StringSliceContains check slice contains string.