This commit is contained in:
YouROK
2020-11-10 22:57:16 +03:00
parent 6a11651cf5
commit 1ce27ef121
12 changed files with 63 additions and 32 deletions

View File

@@ -9,8 +9,6 @@ import (
"os"
"os/signal"
"syscall"
"server"
)
func Preconfig(kill bool) {
@@ -27,8 +25,6 @@ func Preconfig(kill bool) {
if kill {
fmt.Println("Signal catched:", s)
fmt.Println("For stop server, close in web")
} else {
server.Stop()
}
}
}()