Documentation ¶
Index ¶
- Variables
- 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
- type BodyPlaintext
- type BodyPlaintextV1
- type BodyPlaintextVersion
- type ChatActivity
- type ChatActivityType
- type ChatAttachmentDownloadDoneArg
- type ChatAttachmentDownloadProgressArg
- type ChatAttachmentDownloadStartArg
- type ChatAttachmentPreviewUploadDoneArg
- type ChatAttachmentPreviewUploadStartArg
- type ChatAttachmentUploadDoneArg
- type ChatAttachmentUploadProgressArg
- type ChatAttachmentUploadStartArg
- type ChatUiClient
- 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
- type CommonClient
- type CommonInterface
- type Conversation
- type ConversationID
- type ConversationIDTriple
- type ConversationInfoLocal
- type ConversationLocal
- type ConversationMetadata
- type ConversationReaderInfo
- type ConversationStatus
- type DownloadAttachmentLocalArg
- type DownloadAttachmentLocalRes
- type EncryptedData
- type GenericPayload
- type GetConversationForCLILocalArg
- type GetConversationForCLILocalQuery
- type GetConversationForCLILocalRes
- type GetConversationMetadataRemoteRes
- type GetInboxAndUnboxLocalArg
- type GetInboxAndUnboxLocalRes
- type GetInboxByTLFIDRemoteRes
- type GetInboxLocalArg
- type GetInboxLocalQuery
- type GetInboxLocalRes
- type GetInboxQuery
- type GetInboxRemoteArg
- type GetInboxRemoteRes
- type GetInboxSummaryForCLILocalArg
- type GetInboxSummaryForCLILocalQuery
- type GetInboxSummaryForCLILocalRes
- type GetMessagesLocalArg
- type GetMessagesLocalRes
- type GetMessagesRemoteArg
- type GetMessagesRemoteRes
- type GetS3ParamsArg
- type GetThreadLocalArg
- type GetThreadLocalRes
- type GetThreadQuery
- type GetThreadRemoteArg
- type GetThreadRemoteRes
- type GregorClient
- type GregorInterface
- type Hash
- type HeaderPlaintext
- type HeaderPlaintextV1
- type HeaderPlaintextVersion
- type InboxView
- type LocalClient
- 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
- type LocalSource
- type MarkAsReadArg
- type MarkAsReadRes
- type MessageAttachment
- type MessageBody
- 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) Attachment() MessageAttachment
- func (o MessageBody) Delete() MessageDelete
- func (o MessageBody) Edit() MessageEdit
- func (o MessageBody) Headline() MessageHeadline
- func (o *MessageBody) MessageType() (ret MessageType, err error)
- func (o MessageBody) Metadata() MessageConversationMetadata
- func (o MessageBody) Text() MessageText
- type MessageBoxed
- type MessageClientHeader
- type MessageConversationMetadata
- type MessageDelete
- type MessageEdit
- type MessageHeadline
- type MessageID
- type MessagePlaintext
- type MessagePreviousPointer
- type MessageServerHeader
- type MessageText
- type MessageType
- type MessageUnboxed
- func (o MessageUnboxed) Error() MessageUnboxedError
- 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) Valid() MessageUnboxedValid
- type MessageUnboxedError
- type MessageUnboxedState
- type MessageUnboxedValid
- type NewChatActivityArg
- type NewConversationLocalArg
- type NewConversationLocalRes
- type NewConversationRemote2Arg
- type NewConversationRemoteArg
- type NewConversationRemoteRes
- type NewMessagePayload
- type NotifyChatClient
- type NotifyChatInterface
- type Pagination
- type PostAttachmentLocalArg
- type PostLocalArg
- type PostLocalRes
- type PostRemoteArg
- type PostRemoteRes
- type RateLimit
- type RemoteClient
- 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
- type S3Params
- type S3SignArg
- type SetConversationStatusArg
- type SetConversationStatusLocalArg
- type SetConversationStatusLocalRes
- type SetConversationStatusRes
- type SignatureInfo
- type TLFID
- type TLFVisibility
- type ThreadID
- type ThreadView
- type ThreadViewBoxed
- type TlfFinalizeArg
- type TopicID
- type TopicType
- type UnreadFirstNumLimit
Constants ¶
This section is empty.
Variables ¶
View Source
var BodyPlaintextVersionMap = map[string]BodyPlaintextVersion{
"V1": 1,
}
View Source
var BodyPlaintextVersionRevMap = map[BodyPlaintextVersion]string{
1: "V1",
}
View Source
var ChatActivityTypeMap = map[string]ChatActivityType{
"RESERVED": 0,
"INCOMING_MESSAGE": 1,
}
View Source
var ChatActivityTypeRevMap = map[ChatActivityType]string{
0: "RESERVED",
1: "INCOMING_MESSAGE",
}
View Source
var ConversationStatusGregorMap = map[ConversationStatus]string{
ConversationStatus_UNFILED: "unfiled",
ConversationStatus_FAVORITE: "favorite",
ConversationStatus_IGNORED: "ignored",
ConversationStatus_BLOCKED: "blocked",
}
View Source
var ConversationStatusMap = map[string]ConversationStatus{
"UNFILED": 0,
"FAVORITE": 1,
"IGNORED": 2,
"BLOCKED": 3,
}
View Source
var ConversationStatusRevMap = map[ConversationStatus]string{
0: "UNFILED",
1: "FAVORITE",
2: "IGNORED",
3: "BLOCKED",
}
View Source
var HeaderPlaintextVersionMap = map[string]HeaderPlaintextVersion{
"V1": 1,
}
View Source
var HeaderPlaintextVersionRevMap = map[HeaderPlaintextVersion]string{
1: "V1",
}
View Source
var MessageTypeMap = map[string]MessageType{
"NONE": 0,
"TEXT": 1,
"ATTACHMENT": 2,
"EDIT": 3,
"DELETE": 4,
"METADATA": 5,
"TLFNAME": 6,
"HEADLINE": 7,
}
View Source
var MessageTypeRevMap = map[MessageType]string{
0: "NONE",
1: "TEXT",
2: "ATTACHMENT",
3: "EDIT",
4: "DELETE",
5: "METADATA",
6: "TLFNAME",
7: "HEADLINE",
}
View Source
var MessageUnboxedStateMap = map[string]MessageUnboxedState{
"VALID": 1,
"ERROR": 2,
}
View Source
var MessageUnboxedStateRevMap = map[MessageUnboxedState]string{
1: "VALID",
2: "ERROR",
}
View Source
var TLFVisibilityMap = map[string]TLFVisibility{
"ANY": 0,
"PUBLIC": 1,
"PRIVATE": 2,
}
View Source
var TLFVisibilityRevMap = map[TLFVisibility]string{
0: "ANY",
1: "PUBLIC",
2: "PRIVATE",
}
View Source
var TopicTypeMap = map[string]TopicType{
"NONE": 0,
"CHAT": 1,
"DEV": 2,
}
View Source
var TopicTypeRevMap = map[TopicType]string{
0: "NONE",
1: "CHAT",
2: "DEV",
}
Functions ¶
func ChatUiProtocol ¶
func ChatUiProtocol(i ChatUiInterface) rpc.Protocol
func CommonProtocol ¶
func CommonProtocol(i CommonInterface) rpc.Protocol
func GregorProtocol ¶
func GregorProtocol(i GregorInterface) rpc.Protocol
func LocalProtocol ¶
func LocalProtocol(i LocalInterface) rpc.Protocol
func NotifyChatProtocol ¶
func NotifyChatProtocol(i NotifyChatInterface) rpc.Protocol
func RemoteProtocol ¶
func RemoteProtocol(i RemoteInterface) rpc.Protocol
Types ¶
type Asset ¶
type Asset struct { Filename string `codec:"filename" json:"filename"` Region string `codec:"region" json:"region"` Endpoint string `codec:"endpoint" json:"endpoint"` Bucket string `codec:"bucket" json:"bucket"` Path string `codec:"path" json:"path"` Size int `codec:"size" json:"size"` MimeType string `codec:"mimeType" json:"mimeType"` EncHash Hash `codec:"encHash" json:"encHash"` Key []byte `codec:"key" json:"key"` VerifyKey []byte `codec:"verifyKey" json:"verifyKey"` }
type BodyPlaintext ¶
type BodyPlaintext struct { Version__ BodyPlaintextVersion `codec:"version" json:"version"` V1__ *BodyPlaintextV1 `codec:"v1,omitempty" json:"v1,omitempty"` }
func NewBodyPlaintextWithV1 ¶
func NewBodyPlaintextWithV1(v BodyPlaintextV1) BodyPlaintext
func (BodyPlaintext) V1 ¶
func (o BodyPlaintext) V1() BodyPlaintextV1
func (*BodyPlaintext) Version ¶
func (o *BodyPlaintext) Version() (ret BodyPlaintextVersion, err error)
type BodyPlaintextV1 ¶
type BodyPlaintextV1 struct {
MessageBody MessageBody `codec:"messageBody" json:"messageBody"`
}
type BodyPlaintextVersion ¶
type BodyPlaintextVersion int
const (
BodyPlaintextVersion_V1 BodyPlaintextVersion = 1
)
type ChatActivity ¶
type ChatActivity struct { ActivityType ChatActivityType `codec:"ActivityType" json:"ActivityType"` IncomingMessage *MessageUnboxed `codec:"IncomingMessage,omitempty" json:"IncomingMessage,omitempty"` }
type ChatActivityType ¶
type ChatActivityType int
const ( ChatActivityType_RESERVED ChatActivityType = 0 ChatActivityType_INCOMING_MESSAGE ChatActivityType = 1 )
type ChatAttachmentDownloadDoneArg ¶
type ChatAttachmentDownloadDoneArg struct {
SessionID int `codec:"sessionID" json:"sessionID"`
}
type ChatAttachmentDownloadStartArg ¶
type ChatAttachmentDownloadStartArg struct {
SessionID int `codec:"sessionID" json:"sessionID"`
}
type ChatAttachmentPreviewUploadDoneArg ¶
type ChatAttachmentPreviewUploadDoneArg struct {
SessionID int `codec:"sessionID" json:"sessionID"`
}
type ChatAttachmentPreviewUploadStartArg ¶
type ChatAttachmentPreviewUploadStartArg struct {
SessionID int `codec:"sessionID" json:"sessionID"`
}
type ChatAttachmentUploadDoneArg ¶
type ChatAttachmentUploadDoneArg struct {
SessionID int `codec:"sessionID" json:"sessionID"`
}
type ChatAttachmentUploadStartArg ¶
type ChatAttachmentUploadStartArg struct {
SessionID int `codec:"sessionID" json:"sessionID"`
}
type ChatUiClient ¶
type ChatUiClient struct {
Cli rpc.GenericClient
}
func (ChatUiClient) ChatAttachmentDownloadDone ¶
func (c ChatUiClient) ChatAttachmentDownloadDone(ctx context.Context, sessionID int) (err error)
func (ChatUiClient) ChatAttachmentDownloadProgress ¶
func (c ChatUiClient) ChatAttachmentDownloadProgress(ctx context.Context, __arg ChatAttachmentDownloadProgressArg) (err error)
func (ChatUiClient) ChatAttachmentDownloadStart ¶
func (c ChatUiClient) ChatAttachmentDownloadStart(ctx context.Context, sessionID int) (err error)
func (ChatUiClient) ChatAttachmentPreviewUploadDone ¶
func (c ChatUiClient) ChatAttachmentPreviewUploadDone(ctx context.Context, sessionID int) (err error)
func (ChatUiClient) ChatAttachmentPreviewUploadStart ¶
func (c ChatUiClient) ChatAttachmentPreviewUploadStart(ctx context.Context, sessionID int) (err error)
func (ChatUiClient) ChatAttachmentUploadDone ¶
func (c ChatUiClient) ChatAttachmentUploadDone(ctx context.Context, sessionID int) (err error)
func (ChatUiClient) ChatAttachmentUploadProgress ¶
func (c ChatUiClient) ChatAttachmentUploadProgress(ctx context.Context, __arg ChatAttachmentUploadProgressArg) (err error)
func (ChatUiClient) ChatAttachmentUploadStart ¶
func (c ChatUiClient) ChatAttachmentUploadStart(ctx context.Context, sessionID int) (err error)
type ChatUiInterface ¶
type ChatUiInterface interface { ChatAttachmentUploadStart(context.Context, int) error ChatAttachmentUploadProgress(context.Context, ChatAttachmentUploadProgressArg) error ChatAttachmentUploadDone(context.Context, int) error ChatAttachmentPreviewUploadStart(context.Context, int) error ChatAttachmentPreviewUploadDone(context.Context, int) error ChatAttachmentDownloadStart(context.Context, int) error ChatAttachmentDownloadProgress(context.Context, ChatAttachmentDownloadProgressArg) error ChatAttachmentDownloadDone(context.Context, int) error }
type CommonClient ¶
type CommonClient struct {
Cli rpc.GenericClient
}
type CommonInterface ¶
type CommonInterface interface { }
type Conversation ¶
type Conversation struct { Metadata ConversationMetadata `codec:"metadata" json:"metadata"` ReaderInfo *ConversationReaderInfo `codec:"readerInfo,omitempty" json:"readerInfo,omitempty"` Supersedes *ConversationMetadata `codec:"supersedes,omitempty" json:"supersedes,omitempty"` SupersededBy *ConversationMetadata `codec:"supersededBy,omitempty" json:"supersededBy,omitempty"` MaxMsgs []MessageBoxed `codec:"maxMsgs" json:"maxMsgs"` }
type ConversationID ¶
type ConversationID []byte
func MakeConvID ¶
func MakeConvID(val string) (ConversationID, error)
func (ConversationID) Bytes ¶
func (cid ConversationID) Bytes() []byte
func (ConversationID) Eq ¶
func (cid ConversationID) Eq(c ConversationID) bool
func (ConversationID) IsNil ¶
func (cid ConversationID) IsNil() bool
func (ConversationID) Less ¶
func (cid ConversationID) Less(c ConversationID) bool
func (ConversationID) String ¶
func (cid ConversationID) String() string
type ConversationIDTriple ¶
type ConversationIDTriple struct { Tlfid TLFID `codec:"tlfid" json:"tlfid"` TopicType TopicType `codec:"topicType" json:"topicType"` TopicID TopicID `codec:"topicID" json:"topicID"` }
func (ConversationIDTriple) Eq ¶
func (me ConversationIDTriple) Eq(other ConversationIDTriple) bool
type ConversationInfoLocal ¶
type ConversationInfoLocal struct { Id ConversationID `codec:"id" json:"id"` Triple ConversationIDTriple `codec:"triple" json:"triple"` TlfName string `codec:"tlfName" json:"tlfName"` TopicName string `codec:"topicName" json:"topicName"` Visibility TLFVisibility `codec:"visibility" json:"visibility"` WriterNames []string `codec:"writerNames" json:"writerNames"` ReaderNames []string `codec:"readerNames" json:"readerNames"` }
type ConversationLocal ¶
type ConversationLocal struct { Error *string `codec:"error,omitempty" json:"error,omitempty"` Info ConversationInfoLocal `codec:"info" json:"info"` ReaderInfo ConversationReaderInfo `codec:"readerInfo" json:"readerInfo"` MaxMessages []MessageUnboxed `codec:"maxMessages" json:"maxMessages"` }
type ConversationMetadata ¶
type ConversationMetadata struct { IdTriple ConversationIDTriple `codec:"idTriple" json:"idTriple"` ConversationID ConversationID `codec:"conversationID" json:"conversationID"` IsFinalized bool `codec:"isFinalized" json:"isFinalized"` ActiveList []gregor1.UID `codec:"activeList" json:"activeList"` }
type ConversationReaderInfo ¶
type ConversationStatus ¶
type ConversationStatus int
const ( ConversationStatus_UNFILED ConversationStatus = 0 ConversationStatus_FAVORITE ConversationStatus = 1 ConversationStatus_IGNORED ConversationStatus = 2 ConversationStatus_BLOCKED ConversationStatus = 3 )
type DownloadAttachmentLocalArg ¶
type DownloadAttachmentLocalArg struct { SessionID int `codec:"sessionID" json:"sessionID"` ConversationID ConversationID `codec:"conversationID" json:"conversationID"` MessageID MessageID `codec:"messageID" json:"messageID"` Sink keybase1.Stream `codec:"sink" json:"sink"` Preview bool `codec:"preview" json:"preview"` }
type DownloadAttachmentLocalRes ¶
type DownloadAttachmentLocalRes struct {
RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"`
}
type EncryptedData ¶
type GenericPayload ¶
type GenericPayload struct {
Action string `codec:"Action" json:"Action"`
}
type GetConversationForCLILocalArg ¶
type GetConversationForCLILocalArg struct {
Query GetConversationForCLILocalQuery `codec:"query" json:"query"`
}
type GetConversationForCLILocalQuery ¶
type GetConversationForCLILocalQuery struct { MarkAsRead bool `codec:"markAsRead" json:"markAsRead"` MessageTypes []MessageType `codec:"MessageTypes" json:"MessageTypes"` Since *string `codec:"Since,omitempty" json:"Since,omitempty"` Limit UnreadFirstNumLimit `codec:"limit" json:"limit"` ConversationId ConversationID `codec:"conversationId" json:"conversationId"` }
type GetConversationForCLILocalRes ¶
type GetConversationForCLILocalRes struct { Conversation ConversationLocal `codec:"conversation" json:"conversation"` Messages []MessageUnboxed `codec:"messages" json:"messages"` RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"` }
type GetConversationMetadataRemoteRes ¶
type GetConversationMetadataRemoteRes struct { Conv Conversation `codec:"conv" json:"conv"` RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"` }
type GetInboxAndUnboxLocalArg ¶
type GetInboxAndUnboxLocalArg struct { Query *GetInboxLocalQuery `codec:"query,omitempty" json:"query,omitempty"` Pagination *Pagination `codec:"pagination,omitempty" json:"pagination,omitempty"` }
type GetInboxAndUnboxLocalRes ¶
type GetInboxAndUnboxLocalRes struct { Conversations []ConversationLocal `codec:"conversations" json:"conversations"` Pagination *Pagination `codec:"pagination,omitempty" json:"pagination,omitempty"` RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"` }
type GetInboxByTLFIDRemoteRes ¶
type GetInboxByTLFIDRemoteRes struct { Convs []Conversation `codec:"convs" json:"convs"` RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"` }
type GetInboxLocalArg ¶
type GetInboxLocalArg struct { Query *GetInboxLocalQuery `codec:"query,omitempty" json:"query,omitempty"` Pagination *Pagination `codec:"pagination,omitempty" json:"pagination,omitempty"` }
type GetInboxLocalQuery ¶
type GetInboxLocalQuery struct { TlfName *string `codec:"tlfName,omitempty" json:"tlfName,omitempty"` TopicName *string `codec:"topicName,omitempty" json:"topicName,omitempty"` ConvID *ConversationID `codec:"convID,omitempty" json:"convID,omitempty"` TopicType *TopicType `codec:"topicType,omitempty" json:"topicType,omitempty"` TlfVisibility *TLFVisibility `codec:"tlfVisibility,omitempty" json:"tlfVisibility,omitempty"` Before *gregor1.Time `codec:"before,omitempty" json:"before,omitempty"` After *gregor1.Time `codec:"after,omitempty" json:"after,omitempty"` OneChatTypePerTLF *bool `codec:"oneChatTypePerTLF,omitempty" json:"oneChatTypePerTLF,omitempty"` StatusOverrideDefault []ConversationStatus `codec:"statusOverrideDefault" json:"statusOverrideDefault"` UnreadOnly bool `codec:"unreadOnly" json:"unreadOnly"` ReadOnly bool `codec:"readOnly" json:"readOnly"` ComputeActiveList bool `codec:"computeActiveList" json:"computeActiveList"` }
type GetInboxLocalRes ¶
type GetInboxLocalRes struct { ConversationsUnverified []Conversation `codec:"conversationsUnverified" json:"conversationsUnverified"` Pagination *Pagination `codec:"pagination,omitempty" json:"pagination,omitempty"` RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"` }
type GetInboxQuery ¶
type GetInboxQuery struct { ConvID *ConversationID `codec:"convID,omitempty" json:"convID,omitempty"` TopicType *TopicType `codec:"topicType,omitempty" json:"topicType,omitempty"` TlfID *TLFID `codec:"tlfID,omitempty" json:"tlfID,omitempty"` TlfVisibility *TLFVisibility `codec:"tlfVisibility,omitempty" json:"tlfVisibility,omitempty"` Before *gregor1.Time `codec:"before,omitempty" json:"before,omitempty"` After *gregor1.Time `codec:"after,omitempty" json:"after,omitempty"` OneChatTypePerTLF *bool `codec:"oneChatTypePerTLF,omitempty" json:"oneChatTypePerTLF,omitempty"` Status []ConversationStatus `codec:"status" json:"status"` UnreadOnly bool `codec:"unreadOnly" json:"unreadOnly"` ReadOnly bool `codec:"readOnly" json:"readOnly"` ComputeActiveList bool `codec:"computeActiveList" json:"computeActiveList"` }
type GetInboxRemoteArg ¶
type GetInboxRemoteArg struct { Query *GetInboxQuery `codec:"query,omitempty" json:"query,omitempty"` Pagination *Pagination `codec:"pagination,omitempty" json:"pagination,omitempty"` }
type GetInboxRemoteRes ¶
type GetInboxSummaryForCLILocalArg ¶
type GetInboxSummaryForCLILocalArg struct {
Query GetInboxSummaryForCLILocalQuery `codec:"query" json:"query"`
}
type GetInboxSummaryForCLILocalQuery ¶
type GetInboxSummaryForCLILocalQuery struct { TopicType TopicType `codec:"topicType" json:"topicType"` After string `codec:"after" json:"after"` Before string `codec:"before" json:"before"` Visibility TLFVisibility `codec:"visibility" json:"visibility"` UnreadFirst bool `codec:"unreadFirst" json:"unreadFirst"` UnreadFirstLimit UnreadFirstNumLimit `codec:"unreadFirstLimit" json:"unreadFirstLimit"` ActivitySortedLimit int `codec:"activitySortedLimit" json:"activitySortedLimit"` }
type GetInboxSummaryForCLILocalRes ¶
type GetInboxSummaryForCLILocalRes struct { Conversations []ConversationLocal `codec:"conversations" json:"conversations"` RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"` }
type GetMessagesLocalArg ¶
type GetMessagesLocalArg struct { ConversationID ConversationID `codec:"conversationID" json:"conversationID"` MessageIDs []MessageID `codec:"messageIDs" json:"messageIDs"` }
type GetMessagesLocalRes ¶
type GetMessagesLocalRes struct { Messages []MessageUnboxed `codec:"messages" json:"messages"` RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"` }
type GetMessagesRemoteArg ¶
type GetMessagesRemoteArg struct { ConversationID ConversationID `codec:"conversationID" json:"conversationID"` MessageIDs []MessageID `codec:"messageIDs" json:"messageIDs"` }
type GetMessagesRemoteRes ¶
type GetMessagesRemoteRes struct { Msgs []MessageBoxed `codec:"msgs" json:"msgs"` RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"` }
type GetS3ParamsArg ¶
type GetS3ParamsArg struct {
ConversationID ConversationID `codec:"conversationID" json:"conversationID"`
}
type GetThreadLocalArg ¶
type GetThreadLocalArg struct { ConversationID ConversationID `codec:"conversationID" json:"conversationID"` Query *GetThreadQuery `codec:"query,omitempty" json:"query,omitempty"` Pagination *Pagination `codec:"pagination,omitempty" json:"pagination,omitempty"` }
type GetThreadLocalRes ¶
type GetThreadLocalRes struct { Thread ThreadView `codec:"thread" json:"thread"` RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"` }
type GetThreadQuery ¶
type GetThreadRemoteArg ¶
type GetThreadRemoteArg struct { ConversationID ConversationID `codec:"conversationID" json:"conversationID"` Query *GetThreadQuery `codec:"query,omitempty" json:"query,omitempty"` Pagination *Pagination `codec:"pagination,omitempty" json:"pagination,omitempty"` }
type GetThreadRemoteRes ¶
type GetThreadRemoteRes struct { Thread ThreadViewBoxed `codec:"thread" json:"thread"` RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"` }
type GregorClient ¶
type GregorClient struct {
Cli rpc.GenericClient
}
type GregorInterface ¶
type GregorInterface interface { }
type HeaderPlaintext ¶
type HeaderPlaintext struct { Version__ HeaderPlaintextVersion `codec:"version" json:"version"` V1__ *HeaderPlaintextV1 `codec:"v1,omitempty" json:"v1,omitempty"` }
func NewHeaderPlaintextWithV1 ¶
func NewHeaderPlaintextWithV1(v HeaderPlaintextV1) HeaderPlaintext
func (HeaderPlaintext) V1 ¶
func (o HeaderPlaintext) V1() HeaderPlaintextV1
func (*HeaderPlaintext) Version ¶
func (o *HeaderPlaintext) Version() (ret HeaderPlaintextVersion, err error)
type HeaderPlaintextV1 ¶
type HeaderPlaintextV1 struct { Conv ConversationIDTriple `codec:"conv" json:"conv"` TlfName string `codec:"tlfName" json:"tlfName"` TlfPublic bool `codec:"tlfPublic" json:"tlfPublic"` MessageType MessageType `codec:"messageType" json:"messageType"` Prev []MessagePreviousPointer `codec:"prev" json:"prev"` Sender gregor1.UID `codec:"sender" json:"sender"` SenderDevice gregor1.DeviceID `codec:"senderDevice" json:"senderDevice"` BodyHash Hash `codec:"bodyHash" json:"bodyHash"` HeaderSignature *SignatureInfo `codec:"headerSignature,omitempty" json:"headerSignature,omitempty"` }
type HeaderPlaintextVersion ¶
type HeaderPlaintextVersion int
const (
HeaderPlaintextVersion_V1 HeaderPlaintextVersion = 1
)
type InboxView ¶
type InboxView struct { Conversations []Conversation `codec:"conversations" json:"conversations"` Pagination *Pagination `codec:"pagination,omitempty" json:"pagination,omitempty"` }
type LocalClient ¶
type LocalClient struct {
Cli rpc.GenericClient
}
func (LocalClient) DownloadAttachmentLocal ¶
func (c LocalClient) DownloadAttachmentLocal(ctx context.Context, __arg DownloadAttachmentLocalArg) (res DownloadAttachmentLocalRes, err error)
func (LocalClient) GetConversationForCLILocal ¶
func (c LocalClient) GetConversationForCLILocal(ctx context.Context, query GetConversationForCLILocalQuery) (res GetConversationForCLILocalRes, err error)
func (LocalClient) GetInboxAndUnboxLocal ¶
func (c LocalClient) GetInboxAndUnboxLocal(ctx context.Context, __arg GetInboxAndUnboxLocalArg) (res GetInboxAndUnboxLocalRes, err error)
func (LocalClient) GetInboxLocal ¶
func (c LocalClient) GetInboxLocal(ctx context.Context, __arg GetInboxLocalArg) (res GetInboxLocalRes, err error)
func (LocalClient) GetInboxSummaryForCLILocal ¶
func (c LocalClient) GetInboxSummaryForCLILocal(ctx context.Context, query GetInboxSummaryForCLILocalQuery) (res GetInboxSummaryForCLILocalRes, err error)
func (LocalClient) GetMessagesLocal ¶
func (c LocalClient) GetMessagesLocal(ctx context.Context, __arg GetMessagesLocalArg) (res GetMessagesLocalRes, err error)
func (LocalClient) GetThreadLocal ¶
func (c LocalClient) GetThreadLocal(ctx context.Context, __arg GetThreadLocalArg) (res GetThreadLocalRes, err error)
func (LocalClient) NewConversationLocal ¶
func (c LocalClient) NewConversationLocal(ctx context.Context, __arg NewConversationLocalArg) (res NewConversationLocalRes, err error)
func (LocalClient) PostAttachmentLocal ¶
func (c LocalClient) PostAttachmentLocal(ctx context.Context, __arg PostAttachmentLocalArg) (res PostLocalRes, err error)
func (LocalClient) PostLocal ¶
func (c LocalClient) PostLocal(ctx context.Context, __arg PostLocalArg) (res PostLocalRes, err error)
func (LocalClient) SetConversationStatusLocal ¶
func (c LocalClient) SetConversationStatusLocal(ctx context.Context, __arg SetConversationStatusLocalArg) (res SetConversationStatusLocalRes, err error)
type LocalInterface ¶
type LocalInterface interface { GetThreadLocal(context.Context, GetThreadLocalArg) (GetThreadLocalRes, error) GetInboxLocal(context.Context, GetInboxLocalArg) (GetInboxLocalRes, error) GetInboxAndUnboxLocal(context.Context, GetInboxAndUnboxLocalArg) (GetInboxAndUnboxLocalRes, error) PostLocal(context.Context, PostLocalArg) (PostLocalRes, error) SetConversationStatusLocal(context.Context, SetConversationStatusLocalArg) (SetConversationStatusLocalRes, error) PostAttachmentLocal(context.Context, PostAttachmentLocalArg) (PostLocalRes, error) NewConversationLocal(context.Context, NewConversationLocalArg) (NewConversationLocalRes, error) GetInboxSummaryForCLILocal(context.Context, GetInboxSummaryForCLILocalQuery) (GetInboxSummaryForCLILocalRes, error) GetConversationForCLILocal(context.Context, GetConversationForCLILocalQuery) (GetConversationForCLILocalRes, error) GetMessagesLocal(context.Context, GetMessagesLocalArg) (GetMessagesLocalRes, error) DownloadAttachmentLocal(context.Context, DownloadAttachmentLocalArg) (DownloadAttachmentLocalRes, error) }
type LocalSource ¶
type MarkAsReadArg ¶
type MarkAsReadArg struct { ConversationID ConversationID `codec:"conversationID" json:"conversationID"` MsgID MessageID `codec:"msgID" json:"msgID"` }
type MarkAsReadRes ¶
type MarkAsReadRes struct {
RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}
type MessageAttachment ¶
type MessageBody ¶
type MessageBody struct { MessageType__ MessageType `codec:"messageType" json:"messageType"` Text__ *MessageText `codec:"text,omitempty" json:"text,omitempty"` Attachment__ *MessageAttachment `codec:"attachment,omitempty" json:"attachment,omitempty"` Edit__ *MessageEdit `codec:"edit,omitempty" json:"edit,omitempty"` Delete__ *MessageDelete `codec:"delete,omitempty" json:"delete,omitempty"` Metadata__ *MessageConversationMetadata `codec:"metadata,omitempty" json:"metadata,omitempty"` Headline__ *MessageHeadline `codec:"headline,omitempty" json:"headline,omitempty"` }
func NewMessageBodyWithAttachment ¶
func NewMessageBodyWithAttachment(v MessageAttachment) MessageBody
func NewMessageBodyWithDelete ¶
func NewMessageBodyWithDelete(v MessageDelete) MessageBody
func NewMessageBodyWithEdit ¶
func NewMessageBodyWithEdit(v MessageEdit) MessageBody
func NewMessageBodyWithHeadline ¶
func NewMessageBodyWithHeadline(v MessageHeadline) MessageBody
func NewMessageBodyWithMetadata ¶
func NewMessageBodyWithMetadata(v MessageConversationMetadata) MessageBody
func NewMessageBodyWithText ¶
func NewMessageBodyWithText(v MessageText) MessageBody
func (MessageBody) Attachment ¶
func (o MessageBody) Attachment() MessageAttachment
func (MessageBody) Delete ¶
func (o MessageBody) Delete() MessageDelete
func (MessageBody) Edit ¶
func (o MessageBody) Edit() MessageEdit
func (MessageBody) Headline ¶
func (o MessageBody) Headline() MessageHeadline
func (*MessageBody) MessageType ¶
func (o *MessageBody) MessageType() (ret MessageType, err error)
func (MessageBody) Metadata ¶
func (o MessageBody) Metadata() MessageConversationMetadata
func (MessageBody) Text ¶
func (o MessageBody) Text() MessageText
type MessageBoxed ¶
type MessageBoxed struct { ServerHeader *MessageServerHeader `codec:"serverHeader,omitempty" json:"serverHeader,omitempty"` ClientHeader MessageClientHeader `codec:"clientHeader" json:"clientHeader"` HeaderCiphertext EncryptedData `codec:"headerCiphertext" json:"headerCiphertext"` BodyCiphertext EncryptedData `codec:"bodyCiphertext" json:"bodyCiphertext"` KeyGeneration int `codec:"keyGeneration" json:"keyGeneration"` }
func (MessageBoxed) GetMessageID ¶
func (m MessageBoxed) GetMessageID() MessageID
func (MessageBoxed) GetMessageType ¶
func (m MessageBoxed) GetMessageType() MessageType
type MessageClientHeader ¶
type MessageClientHeader struct { Conv ConversationIDTriple `codec:"conv" json:"conv"` TlfName string `codec:"tlfName" json:"tlfName"` TlfPublic bool `codec:"tlfPublic" json:"tlfPublic"` MessageType MessageType `codec:"messageType" json:"messageType"` Supersedes MessageID `codec:"supersedes" json:"supersedes"` Prev []MessagePreviousPointer `codec:"prev" json:"prev"` Sender gregor1.UID `codec:"sender" json:"sender"` SenderDevice gregor1.DeviceID `codec:"senderDevice" json:"senderDevice"` }
type MessageConversationMetadata ¶
type MessageConversationMetadata struct {
ConversationTitle string `codec:"conversationTitle" json:"conversationTitle"`
}
type MessageDelete ¶
type MessageDelete struct {
MessageID MessageID `codec:"messageID" json:"messageID"`
}
type MessageEdit ¶
type MessageHeadline ¶
type MessageHeadline struct {
Headline string `codec:"headline" json:"headline"`
}
type MessagePlaintext ¶
type MessagePlaintext struct { ClientHeader MessageClientHeader `codec:"clientHeader" json:"clientHeader"` MessageBody MessageBody `codec:"messageBody" json:"messageBody"` }
type MessagePreviousPointer ¶
type MessageServerHeader ¶
type MessageText ¶
type MessageText struct {
Body string `codec:"body" json:"body"`
}
type MessageType ¶
type MessageType int
const ( MessageType_NONE MessageType = 0 MessageType_TEXT MessageType = 1 MessageType_ATTACHMENT MessageType = 2 MessageType_EDIT MessageType = 3 MessageType_DELETE MessageType = 4 MessageType_METADATA MessageType = 5 MessageType_TLFNAME MessageType = 6 MessageType_HEADLINE MessageType = 7 )
func (MessageType) String ¶
func (t MessageType) String() string
type MessageUnboxed ¶
type MessageUnboxed struct { State__ MessageUnboxedState `codec:"state" json:"state"` Valid__ *MessageUnboxedValid `codec:"valid,omitempty" json:"valid,omitempty"` Error__ *MessageUnboxedError `codec:"error,omitempty" json:"error,omitempty"` }
func NewMessageUnboxedWithError ¶
func NewMessageUnboxedWithError(v MessageUnboxedError) MessageUnboxed
func NewMessageUnboxedWithValid ¶
func NewMessageUnboxedWithValid(v MessageUnboxedValid) MessageUnboxed
func (MessageUnboxed) Error ¶
func (o MessageUnboxed) Error() MessageUnboxedError
func (MessageUnboxed) GetMessageID ¶
func (m MessageUnboxed) GetMessageID() MessageID
func (MessageUnboxed) GetMessageType ¶
func (m MessageUnboxed) GetMessageType() MessageType
func (MessageUnboxed) IsValid ¶
func (m MessageUnboxed) IsValid() bool
func (*MessageUnboxed) State ¶
func (o *MessageUnboxed) State() (ret MessageUnboxedState, err error)
func (MessageUnboxed) Valid ¶
func (o MessageUnboxed) Valid() MessageUnboxedValid
type MessageUnboxedError ¶
type MessageUnboxedError struct { ErrMsg string `codec:"errMsg" json:"errMsg"` MessageID MessageID `codec:"messageID" json:"messageID"` MessageType MessageType `codec:"messageType" json:"messageType"` }
type MessageUnboxedState ¶
type MessageUnboxedState int
const ( MessageUnboxedState_VALID MessageUnboxedState = 1 MessageUnboxedState_ERROR MessageUnboxedState = 2 )
type MessageUnboxedValid ¶
type MessageUnboxedValid struct { ClientHeader MessageClientHeader `codec:"clientHeader" json:"clientHeader"` ServerHeader MessageServerHeader `codec:"serverHeader" json:"serverHeader"` MessageBody MessageBody `codec:"messageBody" json:"messageBody"` SenderUsername string `codec:"senderUsername" json:"senderUsername"` SenderDeviceName string `codec:"senderDeviceName" json:"senderDeviceName"` HeaderHash Hash `codec:"headerHash" json:"headerHash"` }
type NewChatActivityArg ¶
type NewChatActivityArg struct { Uid keybase1.UID `codec:"uid" json:"uid"` Activity ChatActivity `codec:"activity" json:"activity"` }
type NewConversationLocalArg ¶
type NewConversationLocalArg struct { TlfName string `codec:"tlfName" json:"tlfName"` TopicType TopicType `codec:"topicType" json:"topicType"` TlfVisibility TLFVisibility `codec:"tlfVisibility" json:"tlfVisibility"` TopicName *string `codec:"topicName,omitempty" json:"topicName,omitempty"` }
type NewConversationLocalRes ¶
type NewConversationLocalRes struct { Conv ConversationLocal `codec:"conv" json:"conv"` RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"` }
type NewConversationRemote2Arg ¶
type NewConversationRemote2Arg struct { IdTriple ConversationIDTriple `codec:"idTriple" json:"idTriple"` TLFMessage MessageBoxed `codec:"TLFMessage" json:"TLFMessage"` }
type NewConversationRemoteArg ¶
type NewConversationRemoteArg struct {
IdTriple ConversationIDTriple `codec:"idTriple" json:"idTriple"`
}
type NewConversationRemoteRes ¶
type NewConversationRemoteRes struct { ConvID ConversationID `codec:"convID" json:"convID"` RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"` }
type NewMessagePayload ¶
type NewMessagePayload struct { Action string `codec:"Action" json:"Action"` ConvID ConversationID `codec:"convID" json:"convID"` Message MessageBoxed `codec:"message" json:"message"` }
type NotifyChatClient ¶
type NotifyChatClient struct {
Cli rpc.GenericClient
}
func (NotifyChatClient) NewChatActivity ¶
func (c NotifyChatClient) NewChatActivity(ctx context.Context, __arg NewChatActivityArg) (err error)
type NotifyChatInterface ¶
type NotifyChatInterface interface {
NewChatActivity(context.Context, NewChatActivityArg) error
}
type Pagination ¶
type PostAttachmentLocalArg ¶
type PostAttachmentLocalArg struct { SessionID int `codec:"sessionID" json:"sessionID"` ConversationID ConversationID `codec:"conversationID" json:"conversationID"` ClientHeader MessageClientHeader `codec:"clientHeader" json:"clientHeader"` Attachment LocalSource `codec:"attachment" json:"attachment"` Preview *LocalSource `codec:"preview,omitempty" json:"preview,omitempty"` }
type PostLocalArg ¶
type PostLocalArg struct { ConversationID ConversationID `codec:"conversationID" json:"conversationID"` Msg MessagePlaintext `codec:"msg" json:"msg"` }
type PostLocalRes ¶
type PostLocalRes struct {
RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"`
}
type PostRemoteArg ¶
type PostRemoteArg struct { ConversationID ConversationID `codec:"conversationID" json:"conversationID"` MessageBoxed MessageBoxed `codec:"messageBoxed" json:"messageBoxed"` }
type PostRemoteRes ¶
type PostRemoteRes struct { MsgHeader MessageServerHeader `codec:"msgHeader" json:"msgHeader"` RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"` }
type RemoteClient ¶
type RemoteClient struct {
Cli rpc.GenericClient
}
func (RemoteClient) GetInboxRemote ¶
func (c RemoteClient) GetInboxRemote(ctx context.Context, __arg GetInboxRemoteArg) (res GetInboxRemoteRes, err error)
func (RemoteClient) GetMessagesRemote ¶
func (c RemoteClient) GetMessagesRemote(ctx context.Context, __arg GetMessagesRemoteArg) (res GetMessagesRemoteRes, err error)
func (RemoteClient) GetS3Params ¶
func (c RemoteClient) GetS3Params(ctx context.Context, conversationID ConversationID) (res S3Params, err error)
func (RemoteClient) GetThreadRemote ¶
func (c RemoteClient) GetThreadRemote(ctx context.Context, __arg GetThreadRemoteArg) (res GetThreadRemoteRes, err error)
func (RemoteClient) MarkAsRead ¶
func (c RemoteClient) MarkAsRead(ctx context.Context, __arg MarkAsReadArg) (res MarkAsReadRes, err error)
func (RemoteClient) NewConversationRemote ¶
func (c RemoteClient) NewConversationRemote(ctx context.Context, idTriple ConversationIDTriple) (res NewConversationRemoteRes, err error)
func (RemoteClient) NewConversationRemote2 ¶
func (c RemoteClient) NewConversationRemote2(ctx context.Context, __arg NewConversationRemote2Arg) (res NewConversationRemoteRes, err error)
func (RemoteClient) PostRemote ¶
func (c RemoteClient) PostRemote(ctx context.Context, __arg PostRemoteArg) (res PostRemoteRes, err error)
func (RemoteClient) SetConversationStatus ¶
func (c RemoteClient) SetConversationStatus(ctx context.Context, __arg SetConversationStatusArg) (res SetConversationStatusRes, err error)
func (RemoteClient) TlfFinalize ¶
func (c RemoteClient) TlfFinalize(ctx context.Context, tlfID TLFID) (err error)
type RemoteInterface ¶
type RemoteInterface interface { GetInboxRemote(context.Context, GetInboxRemoteArg) (GetInboxRemoteRes, error) GetThreadRemote(context.Context, GetThreadRemoteArg) (GetThreadRemoteRes, error) PostRemote(context.Context, PostRemoteArg) (PostRemoteRes, error) NewConversationRemote(context.Context, ConversationIDTriple) (NewConversationRemoteRes, error) NewConversationRemote2(context.Context, NewConversationRemote2Arg) (NewConversationRemoteRes, error) GetMessagesRemote(context.Context, GetMessagesRemoteArg) (GetMessagesRemoteRes, error) MarkAsRead(context.Context, MarkAsReadArg) (MarkAsReadRes, error) SetConversationStatus(context.Context, SetConversationStatusArg) (SetConversationStatusRes, error) TlfFinalize(context.Context, TLFID) error GetS3Params(context.Context, ConversationID) (S3Params, error) S3Sign(context.Context, S3SignArg) ([]byte, error) }
type S3Params ¶
type S3Params struct { Bucket string `codec:"bucket" json:"bucket"` ObjectKey string `codec:"objectKey" json:"objectKey"` AccessKey string `codec:"accessKey" json:"accessKey"` Acl string `codec:"acl" json:"acl"` RegionName string `codec:"regionName" json:"regionName"` RegionEndpoint string `codec:"regionEndpoint" json:"regionEndpoint"` RegionBucketEndpoint string `codec:"regionBucketEndpoint" json:"regionBucketEndpoint"` }
type SetConversationStatusArg ¶
type SetConversationStatusArg struct { ConversationID ConversationID `codec:"conversationID" json:"conversationID"` Status ConversationStatus `codec:"status" json:"status"` }
type SetConversationStatusLocalArg ¶
type SetConversationStatusLocalArg struct { ConversationID ConversationID `codec:"conversationID" json:"conversationID"` Status ConversationStatus `codec:"status" json:"status"` }
type SetConversationStatusLocalRes ¶
type SetConversationStatusLocalRes struct {
RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"`
}
type SetConversationStatusRes ¶
type SetConversationStatusRes struct {
RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}
type SignatureInfo ¶
type TLFID ¶
type TLFID []byte
type TLFVisibility ¶
type TLFVisibility int
const ( TLFVisibility_ANY TLFVisibility = 0 TLFVisibility_PUBLIC TLFVisibility = 1 TLFVisibility_PRIVATE TLFVisibility = 2 )
type ThreadView ¶
type ThreadView struct { Messages []MessageUnboxed `codec:"messages" json:"messages"` Pagination *Pagination `codec:"pagination,omitempty" json:"pagination,omitempty"` }
type ThreadViewBoxed ¶
type ThreadViewBoxed struct { Messages []MessageBoxed `codec:"messages" json:"messages"` Pagination *Pagination `codec:"pagination,omitempty" json:"pagination,omitempty"` }
type TlfFinalizeArg ¶
type TlfFinalizeArg struct {
TlfID TLFID `codec:"tlfID" json:"tlfID"`
}
type UnreadFirstNumLimit ¶
Click to show internal directories.
Click to hide internal directories.