func CatchAll(sigc chan os.Signal) {
	handledSigs := []os.Signal{}
	for _, s := range SignalMap {
		handledSigs = append(handledSigs, s)
	}
	signal.Notify(sigc, handledSigs...)
}
CatchAll catches all signals and relays them to the specified channel.
package signal
import (
	"fmt"
	"os"
	"os/signal"
	"strconv"
	"strings"
	"syscall"
)