sig

package
Version: v0.0.0-...-66cff79 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2017 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RestartProcess

func RestartProcess() error

restartProcess returns an error if things couldn't be restarted. On success, this function never returns because the process becomes the new process.

func TrapCloser

func TrapCloser(cl io.Closer, cleanups ...Cleanup)

Types

type Cleanup

type Cleanup func() error

TODO remove Cleanup

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL