We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11407e7 commit 202f8fcCopy full SHA for 202f8fc
README.md
@@ -1696,9 +1696,9 @@ func main() {
1696
// Wait for interrupt signal to gracefully shutdown the server with
1697
// a timeout of 5 seconds.
1698
quit := make(chan os.Signal)
1699
- // kill (no param) default send syscanll.SIGTERM
+ // kill (no param) default send syscall.SIGTERM
1700
// kill -2 is syscall.SIGINT
1701
- // kill -9 is syscall. SIGKILL but can"t be catch, so don't need add it
+ // kill -9 is syscall.SIGKILL but can"t be catch, so don't need add it
1702
signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM)
1703
<-quit
1704
log.Println("Shutdown Server ...")
0 commit comments