Documentation ¶
Overview ¶
Package util contains a range of utility code. This code should probably be put into a library to be shared between applications at some point.
Package util - contains a collection of different functions used across all Retrieval Getaways instances.
Utility function like ones to work with time, process lifetime and binary versioning.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetUpCtrlCExit ¶
func SetUpCtrlCExit(gracefulExit func())
SetUpCtrlCExit - configure the program such that when Control-C is hit, gracefulExit is called, followed by program exit.
Types ¶
type VersionInfo ¶
VersionInfo holds the version information for the applicaiton.
Click to show internal directories.
Click to hide internal directories.