Versions in this module Expand all Collapse all v1 v1.0.22 May 1, 2017 Changes in this version + type FetchRetrier interface + Failure func(ctx context.Context, convID chat1.ConversationID, uid gregor1.UID, ...) error + Force func(ctx context.Context) + Success func(ctx context.Context, convID chat1.ConversationID, uid gregor1.UID, ...) error + type FetchType int + const InboxLoad + const ThreadLoad + type Resumable interface + Start func(ctx context.Context, uid gregor1.UID) + Stop func(ctx context.Context) chan struct{} v1.0.21 Apr 13, 2017 Changes in this version + type ChatLocalizer interface + Localize func(ctx context.Context, uid gregor1.UID, inbox chat1.Inbox) ([]chat1.ConversationLocal, error) + Name func() string + SetOffline func() + type ConversationSource interface + Clear func(convID chat1.ConversationID, uid gregor1.UID) error + GetMessages func(ctx context.Context, convID chat1.ConversationID, uid gregor1.UID, ...) ([]chat1.MessageUnboxed, error) + GetMessagesWithRemotes func(ctx context.Context, convID chat1.ConversationID, uid gregor1.UID, ...) ([]chat1.MessageUnboxed, error) + Pull func(ctx context.Context, convID chat1.ConversationID, uid gregor1.UID, ...) (chat1.ThreadView, []*chat1.RateLimit, error) + PullLocalOnly func(ctx context.Context, convID chat1.ConversationID, uid gregor1.UID, ...) (chat1.ThreadView, error) + Push func(ctx context.Context, convID chat1.ConversationID, uid gregor1.UID, ...) (chat1.MessageUnboxed, bool, error) + SetRemoteInterface func(func() chat1.RemoteInterface) + SetTLFInfoSource func(tlfInfoSource TLFInfoSource) + TransformSupersedes func(ctx context.Context, convID chat1.ConversationID, uid gregor1.UID, ...) ([]chat1.MessageUnboxed, error) + type InboxSource interface + NewConversation func(ctx context.Context, uid gregor1.UID, vers chat1.InboxVers, ...) error + NewMessage func(ctx context.Context, uid gregor1.UID, vers chat1.InboxVers, ...) (*chat1.ConversationLocal, error) + Read func(ctx context.Context, uid gregor1.UID, localizer ChatLocalizer, ...) (chat1.Inbox, *chat1.RateLimit, error) + ReadMessage func(ctx context.Context, uid gregor1.UID, vers chat1.InboxVers, ...) (*chat1.ConversationLocal, error) + ReadUnverified func(ctx context.Context, uid gregor1.UID, useLocalData bool, ...) (chat1.Inbox, *chat1.RateLimit, error) + SetRemoteInterface func(func() chat1.RemoteInterface) + SetStatus func(ctx context.Context, uid gregor1.UID, vers chat1.InboxVers, ...) (*chat1.ConversationLocal, error) + SetTLFInfoSource func(tlfInfoSource TLFInfoSource) + TlfFinalize func(ctx context.Context, uid gregor1.UID, vers chat1.InboxVers, ...) ([]chat1.ConversationLocal, error) + type MessageDeliverer interface + ForceDeliverLoop func(ctx context.Context) + Queue func(ctx context.Context, convID chat1.ConversationID, msg chat1.MessagePlaintext, ...) (chat1.OutboxRecord, error) + Start func(ctx context.Context, uid gregor1.UID) + Stop func(ctx context.Context) chan struct{} + type Offlinable interface + Connected func(ctx context.Context) + Disconnected func(ctx context.Context) + IsOffline func() bool + type ServerCacheVersions interface + Fetch func(ctx context.Context) (chat1.ServerCacheVers, error) + MatchBodies func(ctx context.Context, vers int) (int, error) + MatchInbox func(ctx context.Context, vers int) (int, error) + Set func(ctx context.Context, vers chat1.ServerCacheVers) error + type Syncer interface + AddStaleConversation func(ctx context.Context, uid gregor1.UID, convID chat1.ConversationID) + Connected func(ctx context.Context, cli chat1.RemoteInterface, uid gregor1.UID, ...) error + Disconnected func(ctx context.Context) + IsConnected func(ctx context.Context) bool + RegisterOfflinable func(offlinable Offlinable) + SendChatStaleNotifications func(ctx context.Context, uid gregor1.UID, convIDs []chat1.ConversationID, ...) + Shutdown func() + Sync func(ctx context.Context, cli chat1.RemoteInterface, uid gregor1.UID, ...) error + type TLFInfo struct + CanonicalName string + ID chat1.TLFID + IdentifyFailures []keybase1.TLFIdentifyFailure + type TLFInfoSource interface + CompleteAndCanonicalizePrivateTlfName func(ctx context.Context, tlfName string) (res keybase1.CanonicalTLFNameAndIDWithBreaks, err error) + CryptKeys func(ctx context.Context, tlfName string) (keybase1.GetTLFCryptKeysRes, error) + Lookup func(ctx context.Context, tlfName string, vis chat1.TLFVisibility) (*TLFInfo, error) + PublicCanonicalTLFNameAndID func(ctx context.Context, tlfName string) (keybase1.CanonicalTLFNameAndIDWithBreaks, error)