You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

signals_windows.go 368B

1234567891011121314151617181920212223
  1. //go:build windows
  2. // Copyright (c) 2020 Shivaram Lingamneni
  3. // released under the MIT license
  4. package utils
  5. import (
  6. "os"
  7. "syscall"
  8. )
  9. var (
  10. // ServerExitSignals are the signals the server will exit on.
  11. ServerExitSignals = []os.Signal{
  12. syscall.SIGINT,
  13. syscall.SIGTERM,
  14. syscall.SIGQUIT,
  15. }
  16. // no SIGUSR1 on windows
  17. ServerTracebackSignals []os.Signal
  18. )