comment use of mutex

This commit is contained in:
Fran Bull committed 2025-02-26 09:36:20 -08:00
1 parent 9d65e1fc22
commit f63ce0066d
1 file changed
+4 -3
+4 -3
View File
@@ -16,10 +16,11 @@ import (
)
type authorization struct {
ts *tsnet.Server
tag string
peers *peers
ts *tsnet.Server
tag string
mu sync.Mutex
peers *peers // protected by mu
}
func (a *authorization) refresh(ctx context.Context) error {