added caching to chat translation

This commit is contained in:
2022-02-12 02:19:23 +01:00
parent 8c672f7186
commit 1e2541c76b
2 changed files with 49 additions and 34 deletions

View File

@@ -233,6 +233,7 @@ const (
shareCodeURLEntry = "https://api.steampowered.com/ICSGOPlayers_730/GetNextMatchSharingCode/v1?key=%s&steamid=%d&steamidkey=%s&knowncode=%s"
CachePrefix = "csgowtfd_"
SideMetaCacheKey = CachePrefix + "side_meta_%d"
MatchChatCacheKey = CachePrefix + "chat_%d_%s"
)
//goland:noinspection SpellCheckingInspection