process

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 3 Imported by: 9

Documentation

Overview

Copyright (c) 2022 Wireleap

Copyright (c) 2022 Wireleap

Index

Constants

View Source
const ReloadSignal = syscall.SIGUSR1

Variables

This section is empty.

Functions

func Exists

func Exists(pid int) bool

Exists checks if a given PID exists.

func Kill

func Kill(pid int) error

Kill terminates the given PID forcefully.

func Reload

func Reload(pid int) error

Reload sends the reload signal (SIGUSR1) to the given PID.

func Term

func Term(pid int) error

Term terminates the given PID gracefully.

func Writable

func Writable(p string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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