proc

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package proc discovers and stops running Interceptor processes by image name.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alive

func Alive(pid int) bool

Alive reports whether pid still exists.

func Force

func Force(pid int) error

Force sends SIGKILL to pid.

func Graceful

func Graceful(pid int) error

Graceful sends SIGTERM to pid.

Types

type Proc

type Proc struct {
	PID  int
	Path string // absolute path to the binary, if known
}

Proc is a discovered interceptor process.

func List

func List() ([]Proc, error)

List returns every running interceptor process (excluding the caller).

Jump to

Keyboard shortcuts

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