oswrapper

package
Version: v0.0.0-...-55b2ae7 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 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
Package mock_oswrapper is a generated GoMock package.
Package mock_oswrapper is a generated GoMock package.

Jump to

Keyboard shortcuts

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