# Functions
Clip a time.Duration to a given range.
Clip an int to a given range.
Copy a local file.
Calculate a Gaussian function at 'x', with center of 0.0, max peak of 1.0, and standard deviation of 'sigma'.
Get the date of the given Git hash for a working directory.
Get the current Git hash for a working directory.
No description provided by the author
No description provided by the author
No description provided by the author
Round a float64 to the nearest int64.
Get the highest of multiple int values.
Get the lowest of multiple int values.
Create a new ConcurrencyPool.
Create a new empty LimitQueue.
Create a new empty PriorityQueue.
Create a new empty PriorityQueue.
Create a new empty Queue.
Create a new RotatingFileWriter.
Create a new TimeoutReader.
No description provided by the author
Generate a random UUID according to RFC 4122.
panic recovery handler that prints a backtrace to an io.Writer and exits.
Run a command, killing it if it does not finish before the specified timeout.
Alternative SIGQUIT handler that dumps stack trace to any io.Writer and exits.
Create a map from a single string with separators.
Convert an unsafe pointer to a byte slice.
# Constants
No description provided by the author
No description provided by the author
# Variables
ErrReadTimeout is the error used when a command times out before completing.
ErrReadTimeout is the error used when a read times out before completing.
# Structs
Allows using named bitmask values.
Pool of concurrency slots.
JSON-friendly time.Duration.
No description provided by the author
Thread-Safe Priority Queue.
Simple Thread-Safe FIFO Queue.
io.WriteCloser that writes to a rotating file.
Used for simple benchmarking.
An io.ReadCloser that has a timeout for each underlying Read() function and optionally closes the underlying Reader on timeout.
# Type aliases
Callback function called from within a Write() or Close() call after rotation.