Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddShutdownListener ¶
func AddShutdownListener(fn func()) func()
AddShutdownListener returns fn itself on windows, lets callers call fn on their own.
func AddWrapUpListener ¶
func AddWrapUpListener(fn func()) func()
AddWrapUpListener returns fn itself on windows, lets callers call fn on their own.
func ProcessName ¶
func ProcessName() string
ProcessName returns the processname, same as the command name.
func SetTimeToForceQuit ¶
Types ¶
type Stopper ¶
type Stopper interface {
Stop()
}
Stopper interface wraps the method Stop.
func StartProfile ¶
func StartProfile() Stopper
Click to show internal directories.
Click to hide internal directories.