Versions in this module Expand all Collapse all v1 v1.13.0 Jun 2, 2026 Changes in this version + func NewInCache(db chat.Store) chat.Store + type Cache struct + func (c *Cache) AdvanceLastMessage(ctx context.Context, chatID *commonpb.ChatId, messageID *messagingpb.MessageId, ...) (bool, error) + func (c *Cache) GetChatByID(ctx context.Context, chatID *commonpb.ChatId) (*chat.Chat, error) + func (c *Cache) GetDmFeedPage(ctx context.Context, userID *commonpb.UserId, snapshot time.Time, ...) ([]*chat.Chat, error) + func (c *Cache) GetMembers(ctx context.Context, chatID *commonpb.ChatId) ([]*commonpb.UserId, error) + func (c *Cache) IsMember(ctx context.Context, chatID *commonpb.ChatId, userID *commonpb.UserId) (bool, error) + func (c *Cache) PutChat(ctx context.Context, ch *chat.Chat) error