diff options
| author | Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-30 23:51:14 +0300 |
|---|---|---|
| committer | Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-30 23:51:14 +0300 |
| commit | 8170b65db4d38002f81825ea876dd3e4c9292931 (patch) | |
| tree | 06e20a3835bf953f17cc50aafd48d367574e5357 /web/global | |
| parent | a2d8c98b0df39216787d2c77af6e499857510e9e (diff) | |
add an option for webDomain
Diffstat (limited to 'web/global')
| -rw-r--r-- | web/global/hashStorage.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/web/global/hashStorage.go b/web/global/hashStorage.go index 9dfea169..5d8135ee 100644 --- a/web/global/hashStorage.go +++ b/web/global/hashStorage.go @@ -18,7 +18,6 @@ type HashStorage struct { sync.RWMutex Data map[string]HashEntry Expiration time.Duration - } func NewHashStorage(expiration time.Duration) *HashStorage { @@ -46,7 +45,6 @@ func (h *HashStorage) SaveHash(query string) string { return md5HashString } - func (h *HashStorage) GetValue(hash string) (string, bool) { h.RLock() defer h.RUnlock() |
