Versions in this module Expand all Collapse all v2 v2.8.9 Feb 16, 2026 Changes in this version + func SetSubServer(s SubServer) + func SetWebServer(s WebServer) + type HashEntry struct + Hash string + Timestamp time.Time + Value string + type HashStorage struct + Data map[string]HashEntry + Expiration time.Duration + func NewHashStorage(expiration time.Duration) *HashStorage + func (h *HashStorage) GetValue(hash string) (string, bool) + func (h *HashStorage) IsMD5(hash string) bool + func (h *HashStorage) RemoveExpiredHashes() + func (h *HashStorage) Reset() + func (h *HashStorage) SaveHash(query string) string + type SubServer interface + GetCtx func() context.Context + func GetSubServer() SubServer + type WebServer interface + GetCron func() *cron.Cron + GetCtx func() context.Context + GetWSHub func() any + func GetWebServer() WebServer