interrupthandler - ActiveState ActiveGo 1.8
...

Package interrupthandler

import "github.com/onsi/ginkgo/ginkgo/interrupthandler"
Overview
Index

Overview ▾

func SwallowSigQuit

func SwallowSigQuit()

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