MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / RefreshAllRkeyInfoCache

Method RefreshAllRkeyInfoCache

client/cache.go:236–243  ·  view source on GitHub ↗

RefreshAllRkeyInfoCache 刷新RKey缓存

()

Source from the content-addressed store, hash-verified

234
235// RefreshAllRkeyInfoCache 刷新RKey缓存
236func (c *QQClient) RefreshAllRkeyInfoCache() error {
237 rkeyInfo, err := c.FetchRkey()
238 if err != nil {
239 return err
240 }
241 c.cache.RefreshAllRKeyInfo(rkeyInfo)
242 return nil
243}
244
245// GetFriendsData 获取好友列表数据
246func (c *QQClient) GetFriendsData() (map[uint32]*entity.User, error) {

Callers 2

GetCachedRkeyInfoMethod · 0.95
GetCachedRkeyInfosMethod · 0.95

Calls 2

FetchRkeyMethod · 0.95
RefreshAllRKeyInfoMethod · 0.80

Tested by

no test coverage detected