oswrapper

package
v0.0.0-...-2a71758 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OS

type OS interface {
	FindProcess(pid int) (OSProcess, error)
	Getenv(key string) string
}

OS wraps methods from the 'os' package

func NewOS

func NewOS() OS

NewOS creates a new OS object

type OSProcess

type OSProcess interface {
	Signal(sig os.Signal) error
}

OSProcess wraps methods from the 'os.Process' struct

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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