chore: avoid unneeded map copy when close connection in restful api

This commit is contained in:
wwqgtxx
2023-06-26 17:46:14 +08:00
parent 2284acce94
commit 42ef4fedfa
4 changed files with 24 additions and 18 deletions

View File

@ -15,7 +15,7 @@ import (
"github.com/gofrs/uuid/v5"
)
type tracker interface {
type Tracker interface {
ID() string
Close() error
C.Connection