Versions in this module Expand all Collapse all v1 v1.0.50 Nov 27, 2020 Changes in this version + const DefaultMemProfileRate — darwin/amd64, linux/amd64 + func AddShutdownListener(fn func()) (waitForCalled func()) — darwin/amd64, linux/amd64 + func AddShutdownListener(fn func()) func() — windows/amd64 + func AddWrapUpListener(fn func()) (waitForCalled func()) — darwin/amd64, linux/amd64 + func AddWrapUpListener(fn func()) func() — windows/amd64 + func Env(name string) string + func EnvInt(name string) (int, bool) + func Pid() int + func ProcessName() string + func SetTimeToForceQuit(duration time.Duration) — darwin/amd64, linux/amd64 + func SetTimeoutToForceQuit(duration time.Duration) — windows/amd64 + type Profile struct — darwin/amd64, linux/amd64 + func (p *Profile) Stop() + type Stopper interface + Stop func() + func StartProfile() Stopper