diff options
| author | Adnan Maolood <[email protected]> | 2020-12-17 17:08:45 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2020-12-17 17:08:45 -0500 |
| commit | 7be0715d39a7dcef223eebd13d4c21ef204cb25f (patch) | |
| tree | d217f216647a898522e4eaf50f8bab1b284c5ab4 /cert.go | |
| parent | Add missing imports (diff) | |
| download | go-gemini-7be0715d39a7dcef223eebd13d4c21ef204cb25f.tar.xz go-gemini-7be0715d39a7dcef223eebd13d4c21ef204cb25f.zip | |
Use RWMutex instead of Mutex
Diffstat (limited to 'cert.go')
| -rw-r--r-- | cert.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ type CertificateDir struct { CertificateStore dir bool path string - mu sync.Mutex + mu sync.RWMutex } // Add adds a certificate for the given scope to the store. |