Go: refactor (#17072)

Refactor stats

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-07-19 09:26:44 +08:00
committed by GitHub
parent b8d06d02e6
commit 20f866e703
4 changed files with 21 additions and 99 deletions

View File

@@ -37,7 +37,7 @@ func newEEServer() *EEServer {
return &EEServer{}
}
func StartServer(ctx context.Context, serverName string) error {
func StartServer(ctx context.Context, cancel context.CancelFunc, serverName string) error {
if serverEE == nil {
return errors.New("server EE is nil")
}