RefreshFriend 刷新一个好友的缓存
(friend *entity.User)
| 18 | |
| 19 | // RefreshFriend 刷新一个好友的缓存 |
| 20 | func (c *Cache) RefreshFriend(friend *entity.User) { |
| 21 | setCacheOf(c, friend.Uin, friend) |
| 22 | } |
| 23 | |
| 24 | // RefreshAllFriend 刷新所有好友缓存 |
| 25 | func (c *Cache) RefreshAllFriend(friendCache map[uint32]*entity.User) { |
no test coverage detected