引入平滑重启,有BUG待调试

This commit is contained in:
2025-05-28 21:08:33 +08:00
parent 66c2ddad1c
commit 558587ec68
4 changed files with 41 additions and 7 deletions

17
router/server_test.go Normal file
View File

@ -0,0 +1,17 @@
// Package router ...
//
// Description : router ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2025-05-28 20:58
package router
import (
"testing"
)
func TestNewServer(t *testing.T) {
s := NewServer(9087)
s.Start()
}