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

Method RefreshAllGroupsInfo

client/cache.go:226–233  ·  view source on GitHub ↗

RefreshAllGroupsInfo 刷新所有群信息缓存

()

Source from the content-addressed store, hash-verified

224
225// RefreshAllGroupsInfo 刷新所有群信息缓存
226func (c *QQClient) RefreshAllGroupsInfo() error {
227 groupsData, err := c.GetAllGroupsInfo()
228 if err != nil {
229 return err
230 }
231 c.cache.RefreshAllGroup(groupsData)
232 return nil
233}
234
235// RefreshAllRkeyInfoCache 刷新RKey缓存
236func (c *QQClient) RefreshAllRkeyInfoCache() error {

Callers 3

GetCachedGroupInfoMethod · 0.95

Calls 2

GetAllGroupsInfoMethod · 0.95
RefreshAllGroupMethod · 0.80

Tested by

no test coverage detected