Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDuration ¶
FormatDuration formats a duration in a human-readable way.
func GenerateAlertID ¶
func GenerateAlertID() string
GenerateAlertID generates a unique alert ID using timestamp and random suffix.
func GenerateAlertIDWithPrefix ¶
GenerateAlertIDWithPrefix generates a unique alert ID with a custom prefix.
func ParseTimeString ¶
ParseTimeString parses various time formats into a time.Time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.