mirror of
https://github.com/hanzoai/dns.git
synced 2026-11-21 08:43:58 +00:00
Add RWMutex to protect concurrent map access in Set, Unset, and ForEach methods. Change New() to return *U pointer type for proper synchronization. Signed-off-by: Cangming H <[email protected]>