MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / getUserQuotaCache

Function getUserQuotaCache

model/user_cache.go:148–154  ·  view source on GitHub ↗
(userId int)

Source from the content-addressed store, hash-verified

146}
147
148func getUserQuotaCache(userId int) (int, error) {
149 cache, err := GetUserCache(userId)
150 if err != nil {
151 return 0, err
152 }
153 return cache.Quota, nil
154}
155
156func getUserStatusCache(userId int) (int, error) {
157 cache, err := GetUserCache(userId)

Callers 1

GetUserQuotaFunction · 0.85

Calls 1

GetUserCacheFunction · 0.85

Tested by

no test coverage detected