Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SafeBytesToString ¶ added in v1.10.0
SafeBytesToString takes a slice of bytes and sanitizes it for Prometheus label values. * Terminate the string at the first null byte. * Convert any invalid UTF-8 to "�".
func SafeDereference ¶
func SafeDereference[T any](s ...*T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.