mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-03 20:21:40 +00:00
feat: add store cache
This commit is contained in:
@ -12,8 +12,9 @@ type Store struct {
|
||||
db *sql.DB
|
||||
profile *profile.Profile
|
||||
|
||||
userCache sync.Map // map[int]*userRaw
|
||||
workspaceCache sync.Map // map[int]*workspaceRaw
|
||||
workspaceSettingCache sync.Map // map[string]*WorkspaceSetting
|
||||
userCache sync.Map // map[int]*User
|
||||
shortcutCache sync.Map // map[int]*Shortcut
|
||||
}
|
||||
|
||||
// New creates a new instance of Store.
|
||||
|
Reference in New Issue
Block a user