From 02f122328a68fee80242c0c33ab38fd97eba8189 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 8 Dec 2024 20:21:40 +0800 Subject: [PATCH] :zap: Add cache into querying user --- .idea/workspace.xml | 12 ++++-- pkg/internal/grpc/user.go | 61 +++++++++++++++++++++++---- pkg/internal/http/api/accounts_api.go | 3 +- pkg/internal/http/api/userinfo_api.go | 17 ++++++++ pkg/internal/services/accounts.go | 29 +++++++++++++ pkg/internal/services/preferences.go | 6 +-- 6 files changed, 111 insertions(+), 17 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 809da87..fb0e00c 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,9 +4,13 @@