oswrapper

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSLayer

type OSLayer interface {
	FindProcess(pid int) (osfacade.Process, error)
	GOOS() string
}

type OSWrapper

type OSWrapper struct {
	// contains filtered or unexported fields
}

func New

func New(
	osLayer OSLayer,
) *OSWrapper

func (*OSWrapper) FindProcess

func (w *OSWrapper) FindProcess(processPid int) osfacade.Process

func (*OSWrapper) WaitForProcessToComplete

func (w *OSWrapper) WaitForProcessToComplete(processPid int)

Jump to

Keyboard shortcuts

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