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

Function getUserStatusCache

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

Source from the content-addressed store, hash-verified

154}
155
156func getUserStatusCache(userId int) (int, error) {
157 cache, err := GetUserCache(userId)
158 if err != nil {
159 return 0, err
160 }
161 return cache.Status, nil
162}
163
164func getUserNameCache(userId int) (string, error) {
165 cache, err := GetUserCache(userId)

Callers

nothing calls this directly

Calls 1

GetUserCacheFunction · 0.85

Tested by

no test coverage detected