Refactor MakeTLSConfig and support mTLS on server #1332
Annotations
3 errors
Lint:
internal/tools/tls_test.go#L300
copylocks: range var tc copies lock: struct{name string; config github.com/centrifugal/centrifugo/v5/internal/tools.testConfigGetter; prefix string; fsys testing/fstest.MapFS; expect crypto/tls.Config; errOK bool} contains crypto/tls.Config contains sync.RWMutex (govet)
|
Lint:
internal/tools/tls_test.go#L301
copylocks: assignment copies lock value to tc: struct{name string; config github.com/centrifugal/centrifugo/v5/internal/tools.testConfigGetter; prefix string; fsys testing/fstest.MapFS; expect crypto/tls.Config; errOK bool} contains crypto/tls.Config contains sync.RWMutex (govet)
|
Lint
issues found
|