Essential Go  Edit on GitHub      File Issue

OS Signals

Syntax

Parameters

ParameterDetails
c chan<- os.SignalReceiving channel specifically of type os.Signal; easily created with sigChan := make(chan os.Signal)
sig …os.SignalList of os.Signal types to catch and send down this channel. See https://golang.org/pkg/syscall/#pkg-constants for more options.
  ↑ ↓ to navigate     ↵ to select     Esc to close