Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRunnigAsRootInLinux ¶
func IsRunnigAsRootInLinux() bool
IsRunnigAsRootInLinux return true if running on Linux and if process is running as root
func RunRoutine ¶
func RunRoutine(configuration config.Configuration, function func())
RunRoutine will run function in a separeted goroutine and wait or not due to config.
func RunRoutineInGroup ¶
func RunRoutineInGroup(configuration config.Configuration, function func(), waitGroup *sync.WaitGroup)
RunRoutineInGroup will run function in a separeted goroutine and wait or not due to config. Increment waitGroup counter and notify when done.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.