add an option for webDomain

This commit is contained in:
Hamidreza Ghavami committed 2023-05-31 01:21:14 +04:30
1 parent a2d8c98b0d
commit 8170b65db4
7 files changed
+14 -5

No files matched your search

-2
View File
@@ -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()