package
1.1.2
Repository: https://github.com/lab5e/gotoolbox.git
Documentation: pkg.go.dev

# Functions

EnvVarResolver is an environment variable resolver for Kong -- ie it will default to the environment variable for the parameters.
GetSignalChannel returns the signal channel.
SendInterrupt sends an interrupt signal to the waiting channel.
StringByteSize converts a size (in bytes) to bytes, kibibytes (KiB), mebibyte (MiB), gibibyte (GiB), tebibyte (TiB), pebibyte (PiB) or exbibyte (EiB) The returned string includes the unit (nnn bytes, n.nn KiB, n.nn MiB, ...).
WaitForSignal waits for a signal to terminate.