Versions in this module Expand all Collapse all v1 v1.0.18 Oct 26, 2016 Changes in this version + var BodyPlaintextVersionMap = map[string]BodyPlaintextVersion + var BodyPlaintextVersionRevMap = map[BodyPlaintextVersion]string + var ChatActivityTypeMap = map[string]ChatActivityType + var ChatActivityTypeRevMap = map[ChatActivityType]string + var ConversationStatusGregorMap = map[ConversationStatus]string + var ConversationStatusMap = map[string]ConversationStatus + var ConversationStatusRevMap = map[ConversationStatus]string + var HeaderPlaintextVersionMap = map[string]HeaderPlaintextVersion + var HeaderPlaintextVersionRevMap = map[HeaderPlaintextVersion]string + var MessageTypeMap = map[string]MessageType + var MessageTypeRevMap = map[MessageType]string + var MessageUnboxedStateMap = map[string]MessageUnboxedState + var MessageUnboxedStateRevMap = map[MessageUnboxedState]string + var TLFVisibilityMap = map[string]TLFVisibility + var TLFVisibilityRevMap = map[TLFVisibility]string + var TopicTypeMap = map[string]TopicType + var TopicTypeRevMap = map[TopicType]string + func ChatUiProtocol(i ChatUiInterface) rpc.Protocol + func CommonProtocol(i CommonInterface) rpc.Protocol + func GregorProtocol(i GregorInterface) rpc.Protocol + func LocalProtocol(i LocalInterface) rpc.Protocol + func NotifyChatProtocol(i NotifyChatInterface) rpc.Protocol + func RemoteProtocol(i RemoteInterface) rpc.Protocol + type Asset struct + Bucket string + EncHash Hash + Endpoint string + Filename string + Key []byte + MimeType string + Path string + Region string + Size int + VerifyKey []byte + type BodyPlaintext struct + V1__ *BodyPlaintextV1 + Version__ BodyPlaintextVersion + func NewBodyPlaintextWithV1(v BodyPlaintextV1) BodyPlaintext + func (o *BodyPlaintext) Version() (ret BodyPlaintextVersion, err error) + func (o BodyPlaintext) V1() BodyPlaintextV1 + type BodyPlaintextV1 struct + MessageBody MessageBody + type BodyPlaintextVersion int + const BodyPlaintextVersion_V1 + type ChatActivity struct + ActivityType ChatActivityType + IncomingMessage *MessageUnboxed + type ChatActivityType int + const ChatActivityType_INCOMING_MESSAGE + const ChatActivityType_RESERVED + type ChatAttachmentDownloadDoneArg struct + SessionID int + type ChatAttachmentDownloadProgressArg struct + BytesComplete int + BytesTotal int + SessionID int + type ChatAttachmentDownloadStartArg struct + SessionID int + type ChatAttachmentPreviewUploadDoneArg struct + SessionID int + type ChatAttachmentPreviewUploadStartArg struct + SessionID int + type ChatAttachmentUploadDoneArg struct + SessionID int + type ChatAttachmentUploadProgressArg struct + BytesComplete int + BytesTotal int + SessionID int + type ChatAttachmentUploadStartArg struct + SessionID int + type ChatUiClient struct + Cli rpc.GenericClient + func (c ChatUiClient) ChatAttachmentDownloadDone(ctx context.Context, sessionID int) (err error) + func (c ChatUiClient) ChatAttachmentDownloadProgress(ctx context.Context, __arg ChatAttachmentDownloadProgressArg) (err error) + func (c ChatUiClient) ChatAttachmentDownloadStart(ctx context.Context, sessionID int) (err error) + func (c ChatUiClient) ChatAttachmentPreviewUploadDone(ctx context.Context, sessionID int) (err error) + func (c ChatUiClient) ChatAttachmentPreviewUploadStart(ctx context.Context, sessionID int) (err error) + func (c ChatUiClient) ChatAttachmentUploadDone(ctx context.Context, sessionID int) (err error) + func (c ChatUiClient) ChatAttachmentUploadProgress(ctx context.Context, __arg ChatAttachmentUploadProgressArg) (err error) + func (c ChatUiClient) ChatAttachmentUploadStart(ctx context.Context, sessionID int) (err error) + type ChatUiInterface interface + ChatAttachmentDownloadDone func(context.Context, int) error + ChatAttachmentDownloadProgress func(context.Context, ChatAttachmentDownloadProgressArg) error + ChatAttachmentDownloadStart func(context.Context, int) error + ChatAttachmentPreviewUploadDone func(context.Context, int) error + ChatAttachmentPreviewUploadStart func(context.Context, int) error + ChatAttachmentUploadDone func(context.Context, int) error + ChatAttachmentUploadProgress func(context.Context, ChatAttachmentUploadProgressArg) error + ChatAttachmentUploadStart func(context.Context, int) error + type CommonClient struct + Cli rpc.GenericClient + type CommonInterface interface + type Conversation struct + MaxMsgs []MessageBoxed + Metadata ConversationMetadata + ReaderInfo *ConversationReaderInfo + SupersededBy *ConversationMetadata + Supersedes *ConversationMetadata + type ConversationID []byte + func MakeConvID(val string) (ConversationID, error) + func (cid ConversationID) Bytes() []byte + func (cid ConversationID) Eq(c ConversationID) bool + func (cid ConversationID) IsNil() bool + func (cid ConversationID) Less(c ConversationID) bool + func (cid ConversationID) String() string + type ConversationIDTriple struct + Tlfid TLFID + TopicID TopicID + TopicType TopicType + func (me ConversationIDTriple) Eq(other ConversationIDTriple) bool + type ConversationInfoLocal struct + Id ConversationID + ReaderNames []string + TlfName string + TopicName string + Triple ConversationIDTriple + Visibility TLFVisibility + WriterNames []string + type ConversationLocal struct + Error *string + Info ConversationInfoLocal + MaxMessages []MessageUnboxed + ReaderInfo ConversationReaderInfo + type ConversationMetadata struct + ActiveList []gregor1.UID + ConversationID ConversationID + IdTriple ConversationIDTriple + IsFinalized bool + type ConversationReaderInfo struct + MaxMsgid MessageID + Mtime gregor1.Time + ReadMsgid MessageID + type ConversationStatus int + const ConversationStatus_BLOCKED + const ConversationStatus_FAVORITE + const ConversationStatus_IGNORED + const ConversationStatus_UNFILED + type DownloadAttachmentLocalArg struct + ConversationID ConversationID + MessageID MessageID + Preview bool + SessionID int + Sink keybase1.Stream + type DownloadAttachmentLocalRes struct + RateLimits []RateLimit + type EncryptedData struct + E []byte + N []byte + V int + type GenericPayload struct + Action string + type GetConversationForCLILocalArg struct + Query GetConversationForCLILocalQuery + type GetConversationForCLILocalQuery struct + ConversationId ConversationID + Limit UnreadFirstNumLimit + MarkAsRead bool + MessageTypes []MessageType + Since *string + type GetConversationForCLILocalRes struct + Conversation ConversationLocal + Messages []MessageUnboxed + RateLimits []RateLimit + type GetConversationMetadataRemoteRes struct + Conv Conversation + RateLimit *RateLimit + type GetInboxAndUnboxLocalArg struct + Pagination *Pagination + Query *GetInboxLocalQuery + type GetInboxAndUnboxLocalRes struct + Conversations []ConversationLocal + Pagination *Pagination + RateLimits []RateLimit + type GetInboxByTLFIDRemoteRes struct + Convs []Conversation + RateLimit *RateLimit + type GetInboxLocalArg struct + Pagination *Pagination + Query *GetInboxLocalQuery + type GetInboxLocalQuery struct + After *gregor1.Time + Before *gregor1.Time + ComputeActiveList bool + ConvID *ConversationID + OneChatTypePerTLF *bool + ReadOnly bool + StatusOverrideDefault []ConversationStatus + TlfName *string + TlfVisibility *TLFVisibility + TopicName *string + TopicType *TopicType + UnreadOnly bool + type GetInboxLocalRes struct + ConversationsUnverified []Conversation + Pagination *Pagination + RateLimits []RateLimit + type GetInboxQuery struct + After *gregor1.Time + Before *gregor1.Time + ComputeActiveList bool + ConvID *ConversationID + OneChatTypePerTLF *bool + ReadOnly bool + Status []ConversationStatus + TlfID *TLFID + TlfVisibility *TLFVisibility + TopicType *TopicType + UnreadOnly bool + type GetInboxRemoteArg struct + Pagination *Pagination + Query *GetInboxQuery + type GetInboxRemoteRes struct + Inbox InboxView + RateLimit *RateLimit + type GetInboxSummaryForCLILocalArg struct + Query GetInboxSummaryForCLILocalQuery + type GetInboxSummaryForCLILocalQuery struct + ActivitySortedLimit int + After string + Before string + TopicType TopicType + UnreadFirst bool + UnreadFirstLimit UnreadFirstNumLimit + Visibility TLFVisibility + type GetInboxSummaryForCLILocalRes struct + Conversations []ConversationLocal + RateLimits []RateLimit + type GetMessagesLocalArg struct + ConversationID ConversationID + MessageIDs []MessageID + type GetMessagesLocalRes struct + Messages []MessageUnboxed + RateLimits []RateLimit + type GetMessagesRemoteArg struct + ConversationID ConversationID + MessageIDs []MessageID + type GetMessagesRemoteRes struct + Msgs []MessageBoxed + RateLimit *RateLimit + type GetS3ParamsArg struct + ConversationID ConversationID + type GetThreadLocalArg struct + ConversationID ConversationID + Pagination *Pagination + Query *GetThreadQuery + type GetThreadLocalRes struct + RateLimits []RateLimit + Thread ThreadView + type GetThreadQuery struct + After *gregor1.Time + Before *gregor1.Time + MarkAsRead bool + MessageTypes []MessageType + type GetThreadRemoteArg struct + ConversationID ConversationID + Pagination *Pagination + Query *GetThreadQuery + type GetThreadRemoteRes struct + RateLimit *RateLimit + Thread ThreadViewBoxed + type GregorClient struct + Cli rpc.GenericClient + type GregorInterface interface + type Hash []byte + func (hash Hash) Eq(other Hash) bool + func (hash Hash) String() string + type HeaderPlaintext struct + V1__ *HeaderPlaintextV1 + Version__ HeaderPlaintextVersion + func NewHeaderPlaintextWithV1(v HeaderPlaintextV1) HeaderPlaintext + func (o *HeaderPlaintext) Version() (ret HeaderPlaintextVersion, err error) + func (o HeaderPlaintext) V1() HeaderPlaintextV1 + type HeaderPlaintextV1 struct + BodyHash Hash + Conv ConversationIDTriple + HeaderSignature *SignatureInfo + MessageType MessageType + Prev []MessagePreviousPointer + Sender gregor1.UID + SenderDevice gregor1.DeviceID + TlfName string + TlfPublic bool + type HeaderPlaintextVersion int + const HeaderPlaintextVersion_V1 + type InboxView struct + Conversations []Conversation + Pagination *Pagination + type LocalClient struct + Cli rpc.GenericClient + func (c LocalClient) DownloadAttachmentLocal(ctx context.Context, __arg DownloadAttachmentLocalArg) (res DownloadAttachmentLocalRes, err error) + func (c LocalClient) GetConversationForCLILocal(ctx context.Context, query GetConversationForCLILocalQuery) (res GetConversationForCLILocalRes, err error) + func (c LocalClient) GetInboxAndUnboxLocal(ctx context.Context, __arg GetInboxAndUnboxLocalArg) (res GetInboxAndUnboxLocalRes, err error) + func (c LocalClient) GetInboxLocal(ctx context.Context, __arg GetInboxLocalArg) (res GetInboxLocalRes, err error) + func (c LocalClient) GetInboxSummaryForCLILocal(ctx context.Context, query GetInboxSummaryForCLILocalQuery) (res GetInboxSummaryForCLILocalRes, err error) + func (c LocalClient) GetMessagesLocal(ctx context.Context, __arg GetMessagesLocalArg) (res GetMessagesLocalRes, err error) + func (c LocalClient) GetThreadLocal(ctx context.Context, __arg GetThreadLocalArg) (res GetThreadLocalRes, err error) + func (c LocalClient) NewConversationLocal(ctx context.Context, __arg NewConversationLocalArg) (res NewConversationLocalRes, err error) + func (c LocalClient) PostAttachmentLocal(ctx context.Context, __arg PostAttachmentLocalArg) (res PostLocalRes, err error) + func (c LocalClient) PostLocal(ctx context.Context, __arg PostLocalArg) (res PostLocalRes, err error) + func (c LocalClient) SetConversationStatusLocal(ctx context.Context, __arg SetConversationStatusLocalArg) (res SetConversationStatusLocalRes, err error) + type LocalInterface interface + DownloadAttachmentLocal func(context.Context, DownloadAttachmentLocalArg) (DownloadAttachmentLocalRes, error) + GetConversationForCLILocal func(context.Context, GetConversationForCLILocalQuery) (GetConversationForCLILocalRes, error) + GetInboxAndUnboxLocal func(context.Context, GetInboxAndUnboxLocalArg) (GetInboxAndUnboxLocalRes, error) + GetInboxLocal func(context.Context, GetInboxLocalArg) (GetInboxLocalRes, error) + GetInboxSummaryForCLILocal func(context.Context, GetInboxSummaryForCLILocalQuery) (GetInboxSummaryForCLILocalRes, error) + GetMessagesLocal func(context.Context, GetMessagesLocalArg) (GetMessagesLocalRes, error) + GetThreadLocal func(context.Context, GetThreadLocalArg) (GetThreadLocalRes, error) + NewConversationLocal func(context.Context, NewConversationLocalArg) (NewConversationLocalRes, error) + PostAttachmentLocal func(context.Context, PostAttachmentLocalArg) (PostLocalRes, error) + PostLocal func(context.Context, PostLocalArg) (PostLocalRes, error) + SetConversationStatusLocal func(context.Context, SetConversationStatusLocalArg) (SetConversationStatusLocalRes, error) + type LocalSource struct + Filename string + Size int + Source keybase1.Stream + type MarkAsReadArg struct + ConversationID ConversationID + MsgID MessageID + type MarkAsReadRes struct + RateLimit *RateLimit + type MessageAttachment struct + Metadata []byte + Object Asset + Preview *Asset + type MessageBody struct + Attachment__ *MessageAttachment + Delete__ *MessageDelete + Edit__ *MessageEdit + Headline__ *MessageHeadline + MessageType__ MessageType + Metadata__ *MessageConversationMetadata + Text__ *MessageText + func NewMessageBodyWithAttachment(v MessageAttachment) MessageBody + func NewMessageBodyWithDelete(v MessageDelete) MessageBody + func NewMessageBodyWithEdit(v MessageEdit) MessageBody + func NewMessageBodyWithHeadline(v MessageHeadline) MessageBody + func NewMessageBodyWithMetadata(v MessageConversationMetadata) MessageBody + func NewMessageBodyWithText(v MessageText) MessageBody + func (o *MessageBody) MessageType() (ret MessageType, err error) + func (o MessageBody) Attachment() MessageAttachment + func (o MessageBody) Delete() MessageDelete + func (o MessageBody) Edit() MessageEdit + func (o MessageBody) Headline() MessageHeadline + func (o MessageBody) Metadata() MessageConversationMetadata + func (o MessageBody) Text() MessageText + type MessageBoxed struct + BodyCiphertext EncryptedData + ClientHeader MessageClientHeader + HeaderCiphertext EncryptedData + KeyGeneration int + ServerHeader *MessageServerHeader + func (m MessageBoxed) GetMessageID() MessageID + func (m MessageBoxed) GetMessageType() MessageType + type MessageClientHeader struct + Conv ConversationIDTriple + MessageType MessageType + Prev []MessagePreviousPointer + Sender gregor1.UID + SenderDevice gregor1.DeviceID + Supersedes MessageID + TlfName string + TlfPublic bool + type MessageConversationMetadata struct + ConversationTitle string + type MessageDelete struct + MessageID MessageID + type MessageEdit struct + Body string + MessageID MessageID + type MessageHeadline struct + Headline string + type MessageID uint + func (mid MessageID) String() string + type MessagePlaintext struct + ClientHeader MessageClientHeader + MessageBody MessageBody + type MessagePreviousPointer struct + Hash Hash + Id MessageID + type MessageServerHeader struct + Ctime gregor1.Time + MessageID MessageID + SupersededBy MessageID + type MessageText struct + Body string + type MessageType int + const MessageType_ATTACHMENT + const MessageType_DELETE + const MessageType_EDIT + const MessageType_HEADLINE + const MessageType_METADATA + const MessageType_NONE + const MessageType_TEXT + const MessageType_TLFNAME + func (t MessageType) String() string + type MessageUnboxed struct + Error__ *MessageUnboxedError + State__ MessageUnboxedState + Valid__ *MessageUnboxedValid + func NewMessageUnboxedWithError(v MessageUnboxedError) MessageUnboxed + func NewMessageUnboxedWithValid(v MessageUnboxedValid) MessageUnboxed + func (m MessageUnboxed) GetMessageID() MessageID + func (m MessageUnboxed) GetMessageType() MessageType + func (m MessageUnboxed) IsValid() bool + func (o *MessageUnboxed) State() (ret MessageUnboxedState, err error) + func (o MessageUnboxed) Error() MessageUnboxedError + func (o MessageUnboxed) Valid() MessageUnboxedValid + type MessageUnboxedError struct + ErrMsg string + MessageID MessageID + MessageType MessageType + type MessageUnboxedState int + const MessageUnboxedState_ERROR + const MessageUnboxedState_VALID + type MessageUnboxedValid struct + ClientHeader MessageClientHeader + HeaderHash Hash + MessageBody MessageBody + SenderDeviceName string + SenderUsername string + ServerHeader MessageServerHeader + type NewChatActivityArg struct + Activity ChatActivity + Uid keybase1.UID + type NewConversationLocalArg struct + TlfName string + TlfVisibility TLFVisibility + TopicName *string + TopicType TopicType + type NewConversationLocalRes struct + Conv ConversationLocal + RateLimits []RateLimit + type NewConversationRemote2Arg struct + IdTriple ConversationIDTriple + TLFMessage MessageBoxed + type NewConversationRemoteArg struct + IdTriple ConversationIDTriple + type NewConversationRemoteRes struct + ConvID ConversationID + RateLimit *RateLimit + type NewMessagePayload struct + Action string + ConvID ConversationID + Message MessageBoxed + type NotifyChatClient struct + Cli rpc.GenericClient + func (c NotifyChatClient) NewChatActivity(ctx context.Context, __arg NewChatActivityArg) (err error) + type NotifyChatInterface interface + NewChatActivity func(context.Context, NewChatActivityArg) error + type Pagination struct + Last bool + Next []byte + Num int + Previous []byte + type PostAttachmentLocalArg struct + Attachment LocalSource + ClientHeader MessageClientHeader + ConversationID ConversationID + Preview *LocalSource + SessionID int + type PostLocalArg struct + ConversationID ConversationID + Msg MessagePlaintext + type PostLocalRes struct + RateLimits []RateLimit + type PostRemoteArg struct + ConversationID ConversationID + MessageBoxed MessageBoxed + type PostRemoteRes struct + MsgHeader MessageServerHeader + RateLimit *RateLimit + type RateLimit struct + CallsRemaining int + MaxCalls int + Name string + WindowReset int + type RemoteClient struct + Cli rpc.GenericClient + func (c RemoteClient) GetInboxRemote(ctx context.Context, __arg GetInboxRemoteArg) (res GetInboxRemoteRes, err error) + func (c RemoteClient) GetMessagesRemote(ctx context.Context, __arg GetMessagesRemoteArg) (res GetMessagesRemoteRes, err error) + func (c RemoteClient) GetS3Params(ctx context.Context, conversationID ConversationID) (res S3Params, err error) + func (c RemoteClient) GetThreadRemote(ctx context.Context, __arg GetThreadRemoteArg) (res GetThreadRemoteRes, err error) + func (c RemoteClient) MarkAsRead(ctx context.Context, __arg MarkAsReadArg) (res MarkAsReadRes, err error) + func (c RemoteClient) NewConversationRemote(ctx context.Context, idTriple ConversationIDTriple) (res NewConversationRemoteRes, err error) + func (c RemoteClient) NewConversationRemote2(ctx context.Context, __arg NewConversationRemote2Arg) (res NewConversationRemoteRes, err error) + func (c RemoteClient) PostRemote(ctx context.Context, __arg PostRemoteArg) (res PostRemoteRes, err error) + func (c RemoteClient) S3Sign(ctx context.Context, __arg S3SignArg) (res []byte, err error) + func (c RemoteClient) SetConversationStatus(ctx context.Context, __arg SetConversationStatusArg) (res SetConversationStatusRes, err error) + func (c RemoteClient) TlfFinalize(ctx context.Context, tlfID TLFID) (err error) + type RemoteInterface interface + GetInboxRemote func(context.Context, GetInboxRemoteArg) (GetInboxRemoteRes, error) + GetMessagesRemote func(context.Context, GetMessagesRemoteArg) (GetMessagesRemoteRes, error) + GetS3Params func(context.Context, ConversationID) (S3Params, error) + GetThreadRemote func(context.Context, GetThreadRemoteArg) (GetThreadRemoteRes, error) + MarkAsRead func(context.Context, MarkAsReadArg) (MarkAsReadRes, error) + NewConversationRemote func(context.Context, ConversationIDTriple) (NewConversationRemoteRes, error) + NewConversationRemote2 func(context.Context, NewConversationRemote2Arg) (NewConversationRemoteRes, error) + PostRemote func(context.Context, PostRemoteArg) (PostRemoteRes, error) + S3Sign func(context.Context, S3SignArg) ([]byte, error) + SetConversationStatus func(context.Context, SetConversationStatusArg) (SetConversationStatusRes, error) + TlfFinalize func(context.Context, TLFID) error + type S3Params struct + AccessKey string + Acl string + Bucket string + ObjectKey string + RegionBucketEndpoint string + RegionEndpoint string + RegionName string + type S3SignArg struct + Payload []byte + Version int + type SetConversationStatusArg struct + ConversationID ConversationID + Status ConversationStatus + type SetConversationStatusLocalArg struct + ConversationID ConversationID + Status ConversationStatus + type SetConversationStatusLocalRes struct + RateLimits []RateLimit + type SetConversationStatusRes struct + RateLimit *RateLimit + type SignatureInfo struct + K []byte + S []byte + V int + type TLFID []byte + func MakeTLFID(val string) (TLFID, error) + func (id TLFID) Eq(other TLFID) bool + func (id TLFID) EqString(other fmt.Stringer) bool + func (id TLFID) String() string + type TLFVisibility int + const TLFVisibility_ANY + const TLFVisibility_PRIVATE + const TLFVisibility_PUBLIC + type ThreadID []byte + type ThreadView struct + Messages []MessageUnboxed + Pagination *Pagination + type ThreadViewBoxed struct + Messages []MessageBoxed + Pagination *Pagination + type TlfFinalizeArg struct + TlfID TLFID + type TopicID []byte + func MakeTopicID(val string) (TopicID, error) + func (t TopicID) String() string + type TopicType int + const TopicType_CHAT + const TopicType_DEV + const TopicType_NONE + func MakeTopicType(val int64) TopicType + func (t TopicType) String() string + type UnreadFirstNumLimit struct + AtLeast int + AtMost int + NumRead int