# Functions
AddShutdownListener adds fn as a shutdown listener.
AddWrapUpListener adds fn as a wrap up listener.
Done returns the channel that notifies the process quitting.
Env returns the value of the given environment variable.
EnvInt returns an int value of the given environment variable.
Pid returns pid of current process.
ProcessName returns the processname, same as the command name.
SetTimeToForceQuit sets the waiting time before force quitting.
No description provided by the author
Shutdown calls the registered shutdown listeners, only for test purpose.
StartProfile starts a new profiling session.
WrapUp wraps up the process, only for test purpose.
# Constants
DefaultMemProfileRate is the default memory profiling rate.
# Structs
Profile represents an active profiling session.
ShutdownConf defines the shutdown configuration for the process.
# Interfaces
No description provided by the author