mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 20:09:41 +01:00
24 lines
368 B
Go
24 lines
368 B
Go
//go:build windows
|
|
|
|
// Copyright (c) 2020 Shivaram Lingamneni
|
|
// released under the MIT license
|
|
|
|
package utils
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
var (
|
|
// ServerExitSignals are the signals the server will exit on.
|
|
ServerExitSignals = []os.Signal{
|
|
syscall.SIGINT,
|
|
syscall.SIGTERM,
|
|
syscall.SIGQUIT,
|
|
}
|
|
|
|
// no SIGUSR1 on windows
|
|
ServerTracebackSignals []os.Signal
|
|
)
|