Versions in this module Expand all Collapse all v0 v0.0.1 May 17, 2022 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 Done() <-chan struct — darwin/amd64, linux/amd64, 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, windows/amd64 + type Profile struct — darwin/amd64, linux/amd64 + func (p *Profile) Stop() + type Stopper interface + Stop func() + func StartProfile() Stopper