Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNginxRunning ¶
func IsNginxRunning() bool
IsNginxRunning returns true if a process with the name 'nginx' is found
func IsRespawnIfRequired ¶
IsRespawnIfRequired checks if error type is exec.ExitError or not
func WaitUntilPortIsAvailable ¶
func WaitUntilPortIsAvailable(port int)
WaitUntilPortIsAvailable waits until there is no NGINX master or worker process/es listentning in a particular port.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.