support same uuid multi users

This commit is contained in:
znlsl 2025-04-02 13:19:00 +08:00
parent 50569f7483
commit 13a39686df

View file

@ -50,7 +50,7 @@ type Service[U comparable] struct {
tlsConfig aTLS.ServerConfig
heartbeat time.Duration
quicConfig *quic.Config
userMap map[[16]byte][]U // 每个 UUID 对应多个用户
userMap map[[16]byte][]U
passwordMap map[U]string
congestionControl string
authTimeout time.Duration