Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SwallowSigQuit

func SwallowSigQuit()

Types

type InterruptHandler

type InterruptHandler struct {
	C chan bool
	// contains filtered or unexported fields
}

func NewInterruptHandler

func NewInterruptHandler() *InterruptHandler

func (*InterruptHandler) WasInterrupted

func (h *InterruptHandler) WasInterrupted() bool