Documentation ¶
Index ¶
- type Storage
- func (s *Storage) Fetch(ctx context.Context, conv chat1.Conversation, uid gregor1.UID, ...) (chat1.ThreadView, libkb.ChatStorageError)
- func (s *Storage) MaybeNuke(force bool, err libkb.ChatStorageError, convID chat1.ConversationID, ...) libkb.ChatStorageError
- func (s *Storage) Merge(ctx context.Context, convID chat1.ConversationID, uid gregor1.UID, ...) libkb.ChatStorageError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct { sync.Mutex libkb.Contextified // contains filtered or unexported fields }
func (*Storage) Fetch ¶
func (s *Storage) Fetch(ctx context.Context, conv chat1.Conversation, uid gregor1.UID, query *chat1.GetThreadQuery, pagination *chat1.Pagination, rl *[]*chat1.RateLimit) (chat1.ThreadView, libkb.ChatStorageError)
func (*Storage) MaybeNuke ¶
func (s *Storage) MaybeNuke(force bool, err libkb.ChatStorageError, convID chat1.ConversationID, uid gregor1.UID) libkb.ChatStorageError
func (*Storage) Merge ¶
func (s *Storage) Merge(ctx context.Context, convID chat1.ConversationID, uid gregor1.UID, msgs []chat1.MessageUnboxed) libkb.ChatStorageError
Click to show internal directories.
Click to hide internal directories.