Documentation ¶
Index ¶
- func ClearUnprintableChars(s string, allowNewlines bool) string
- func GetLogErrMsg(s string, logLabel string) string
- func IntToStr[T constraints.Signed](v T) string
- func IsIPv6IP(ip net.IP) bool
- func MustDecodeHex(s string) []byte
- func Uint16ToBytesBE(v uint16) []byte
- func UintToStr[T constraints.Unsigned](v T) string
- func ValidateDevName(s string) bool
- func ValidateFsType(s string) bool
- func ValidateUnixUsername(s string) bool
- func WrapErrWithLog(err error, msg, log string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearUnprintableChars ¶
func GetLogErrMsg ¶
func IntToStr ¶
func IntToStr[T constraints.Signed](v T) string
func MustDecodeHex ¶
func Uint16ToBytesBE ¶
func UintToStr ¶
func UintToStr[T constraints.Unsigned](v T) string
func ValidateDevName ¶
func ValidateFsType ¶ added in v0.2.0
func ValidateUnixUsername ¶
func WrapErrWithLog ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.