package osutil

import "github.com/coreos/etcd/pkg/osutil"

Index

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

func Unsetenv(key string) error

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.