config重构
This commit is contained in:
1 parent
0810383afc
commit
5f873914e0
14 files changed
+134
-208
No files matched your search
@@ -72,7 +72,6 @@ func Start() {
|
||||
func Stop(ctx context.Context) {
|
||||
quit := make(chan os.Signal)
|
||||
signal.Notify(quit, os.Interrupt)
|
||||
<-quit
|
||||
fmt.Printf("%s Shutdown Server ... \r\n", tools.GetCurrentTimeStr())
|
||||
err := _server.Shutdown(ctx)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user