comment use of mutex

This commit is contained in:
Fran Bull 2025-02-26 09:36:20 -08:00
parent 9d65e1fc22
commit f63ce0066d

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 {