package osutil
import "github.com/coreos/etcd/pkg/osutil"
Index ¶
- func Exit(code int)
- func HandleInterrupts()
- func RegisterInterruptHandler(h InterruptHandler)
- func Unsetenv(key string) error
- type InterruptHandler
Functions ¶
func Exit ¶
func Exit(code int)
Exit calls os.Exit
func HandleInterrupts ¶
func HandleInterrupts()
HandleInterrupts is a no-op on windows
func RegisterInterruptHandler ¶
func RegisterInterruptHandler(h InterruptHandler)
RegisterInterruptHandler is a no-op on windows
func Unsetenv ¶
Types ¶
type InterruptHandler ¶
type InterruptHandler func()
Source Files ¶
interrupt_windows.go osutil.go
- Version
- v2.2.2+incompatible
- Published
- Nov 19, 2015
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 8 minutes ago –
Tools for package owners.