This commit is contained in:
2025-11-11 02:33:05 +01:00
parent eb2c8fea64
commit 17a671a417
21 changed files with 560 additions and 73 deletions

15
domain/client_manager.go Normal file
View File

@@ -0,0 +1,15 @@
package domain
import (
"github.com/puzpuzpuz/xsync/v4"
)
type ClientManager struct {
clients *xsync.Map[string, Client]
}
func NewClientManager() *ClientManager {
return &ClientManager{
clients: xsync.NewMap[string, Client](),
}
}