proc

package
v1.0.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2021 License: MIT Imports: 14 Imported by: 0

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 Env

func Env(name string) string

func EnvInt

func EnvInt(name string) (int, bool)

func Pid

func Pid() int

func ProcessName

func ProcessName() string

func SetTimeoutToForceQuit

func SetTimeoutToForceQuit(duration time.Duration)

Types

type Stopper

type Stopper interface {
	Stop()
}

func StartProfile

func StartProfile() Stopper

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL