Documentation ¶
Index ¶
- Variables
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetCid() string
- func (m *Block) GetRawData() []byte
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) String() string
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type Chat
- func (*Chat) Descriptor() ([]byte, []int)
- func (m *Chat) GetDate() *timestamp.Timestamp
- func (m *Chat) GetFlag() Chat_Flag
- func (m *Chat) GetId() string
- func (m *Chat) GetMessage() string
- func (m *Chat) GetSubject() string
- func (*Chat) ProtoMessage()
- func (m *Chat) Reset()
- func (m *Chat) String() string
- func (m *Chat) XXX_DiscardUnknown()
- func (m *Chat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Chat) XXX_Merge(src proto.Message)
- func (m *Chat) XXX_Size() int
- func (m *Chat) XXX_Unmarshal(b []byte) error
- type Chat_Flag
- type CidList
- func (*CidList) Descriptor() ([]byte, []int)
- func (m *CidList) GetCids() []string
- func (*CidList) ProtoMessage()
- func (m *CidList) Reset()
- func (m *CidList) String() string
- func (m *CidList) XXX_DiscardUnknown()
- func (m *CidList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CidList) XXX_Merge(src proto.Message)
- func (m *CidList) XXX_Size() int
- func (m *CidList) XXX_Unmarshal(b []byte) error
- type Envelope
- func (*Envelope) Descriptor() ([]byte, []int)
- func (m *Envelope) GetMessage() *Message
- func (m *Envelope) GetPk() []byte
- func (m *Envelope) GetSig() []byte
- func (*Envelope) ProtoMessage()
- func (m *Envelope) Reset()
- func (m *Envelope) String() string
- func (m *Envelope) XXX_DiscardUnknown()
- func (m *Envelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Envelope) XXX_Merge(src proto.Message)
- func (m *Envelope) XXX_Size() int
- func (m *Envelope) XXX_Unmarshal(b []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetCode() uint32
- func (m *Error) GetMessage() string
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) String() string
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetIsResponse() bool
- func (m *Message) GetPayload() *any.Any
- func (m *Message) GetRequestId() int32
- func (m *Message) GetType() Message_Type
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Message) XXX_Merge(src proto.Message)
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Message_Type
- type SignedThreadBlock
- func (*SignedThreadBlock) Descriptor() ([]byte, []int)
- func (m *SignedThreadBlock) GetBlock() []byte
- func (m *SignedThreadBlock) GetThreadSig() []byte
- func (*SignedThreadBlock) ProtoMessage()
- func (m *SignedThreadBlock) Reset()
- func (m *SignedThreadBlock) String() string
- func (m *SignedThreadBlock) XXX_DiscardUnknown()
- func (m *SignedThreadBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SignedThreadBlock) XXX_Merge(src proto.Message)
- func (m *SignedThreadBlock) XXX_Size() int
- func (m *SignedThreadBlock) XXX_Unmarshal(b []byte) error
- type ThreadAnnotation
- func (*ThreadAnnotation) Descriptor() ([]byte, []int)
- func (m *ThreadAnnotation) GetCaptionCipher() []byte
- func (m *ThreadAnnotation) GetDataId() string
- func (m *ThreadAnnotation) GetHeader() *ThreadBlockHeader
- func (m *ThreadAnnotation) GetType() ThreadAnnotation_Type
- func (*ThreadAnnotation) ProtoMessage()
- func (m *ThreadAnnotation) Reset()
- func (m *ThreadAnnotation) String() string
- func (m *ThreadAnnotation) XXX_DiscardUnknown()
- func (m *ThreadAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ThreadAnnotation) XXX_Merge(src proto.Message)
- func (m *ThreadAnnotation) XXX_Size() int
- func (m *ThreadAnnotation) XXX_Unmarshal(b []byte) error
- type ThreadAnnotation_Type
- type ThreadBlockHeader
- func (*ThreadBlockHeader) Descriptor() ([]byte, []int)
- func (m *ThreadBlockHeader) GetAuthorPk() []byte
- func (m *ThreadBlockHeader) GetAuthorUnCipher() []byte
- func (m *ThreadBlockHeader) GetDate() *timestamp.Timestamp
- func (m *ThreadBlockHeader) GetParents() []string
- func (m *ThreadBlockHeader) GetThreadPk() []byte
- func (*ThreadBlockHeader) ProtoMessage()
- func (m *ThreadBlockHeader) Reset()
- func (m *ThreadBlockHeader) String() string
- func (m *ThreadBlockHeader) XXX_DiscardUnknown()
- func (m *ThreadBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ThreadBlockHeader) XXX_Merge(src proto.Message)
- func (m *ThreadBlockHeader) XXX_Size() int
- func (m *ThreadBlockHeader) XXX_Unmarshal(b []byte) error
- type ThreadData
- func (*ThreadData) Descriptor() ([]byte, []int)
- func (m *ThreadData) GetCaptionCipher() []byte
- func (m *ThreadData) GetDataId() string
- func (m *ThreadData) GetHeader() *ThreadBlockHeader
- func (m *ThreadData) GetKeyCipher() []byte
- func (m *ThreadData) GetType() ThreadData_Type
- func (m *ThreadData) GetUsernameCipher() []bytedeprecated
- func (*ThreadData) ProtoMessage()
- func (m *ThreadData) Reset()
- func (m *ThreadData) String() string
- func (m *ThreadData) XXX_DiscardUnknown()
- func (m *ThreadData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ThreadData) XXX_Merge(src proto.Message)
- func (m *ThreadData) XXX_Size() int
- func (m *ThreadData) XXX_Unmarshal(b []byte) error
- type ThreadData_Type
- type ThreadExternalInvite
- func (*ThreadExternalInvite) Descriptor() ([]byte, []int)
- func (m *ThreadExternalInvite) GetHeader() *ThreadBlockHeader
- func (m *ThreadExternalInvite) GetSkCipher() []byte
- func (m *ThreadExternalInvite) GetSuggestedName() string
- func (*ThreadExternalInvite) ProtoMessage()
- func (m *ThreadExternalInvite) Reset()
- func (m *ThreadExternalInvite) String() string
- func (m *ThreadExternalInvite) XXX_DiscardUnknown()
- func (m *ThreadExternalInvite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ThreadExternalInvite) XXX_Merge(src proto.Message)
- func (m *ThreadExternalInvite) XXX_Size() int
- func (m *ThreadExternalInvite) XXX_Unmarshal(b []byte) error
- type ThreadHeader
- func (*ThreadHeader) Descriptor() ([]byte, []int)
- func (m *ThreadHeader) GetHeader() *ThreadBlockHeader
- func (*ThreadHeader) ProtoMessage()
- func (m *ThreadHeader) Reset()
- func (m *ThreadHeader) String() string
- func (m *ThreadHeader) XXX_DiscardUnknown()
- func (m *ThreadHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ThreadHeader) XXX_Merge(src proto.Message)
- func (m *ThreadHeader) XXX_Size() int
- func (m *ThreadHeader) XXX_Unmarshal(b []byte) error
- type ThreadIgnore
- func (*ThreadIgnore) Descriptor() ([]byte, []int)
- func (m *ThreadIgnore) GetDataId() string
- func (m *ThreadIgnore) GetHeader() *ThreadBlockHeader
- func (*ThreadIgnore) ProtoMessage()
- func (m *ThreadIgnore) Reset()
- func (m *ThreadIgnore) String() string
- func (m *ThreadIgnore) XXX_DiscardUnknown()
- func (m *ThreadIgnore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ThreadIgnore) XXX_Merge(src proto.Message)
- func (m *ThreadIgnore) XXX_Size() int
- func (m *ThreadIgnore) XXX_Unmarshal(b []byte) error
- type ThreadInvite
- func (*ThreadInvite) Descriptor() ([]byte, []int)
- func (m *ThreadInvite) GetHeader() *ThreadBlockHeader
- func (m *ThreadInvite) GetInviteeId() string
- func (m *ThreadInvite) GetSkCipher() []byte
- func (m *ThreadInvite) GetSuggestedName() string
- func (*ThreadInvite) ProtoMessage()
- func (m *ThreadInvite) Reset()
- func (m *ThreadInvite) String() string
- func (m *ThreadInvite) XXX_DiscardUnknown()
- func (m *ThreadInvite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ThreadInvite) XXX_Merge(src proto.Message)
- func (m *ThreadInvite) XXX_Size() int
- func (m *ThreadInvite) XXX_Unmarshal(b []byte) error
- type ThreadJoin
- func (*ThreadJoin) Descriptor() ([]byte, []int)
- func (m *ThreadJoin) GetBlockId() string
- func (m *ThreadJoin) GetHeader() *ThreadBlockHeader
- func (m *ThreadJoin) GetInviterPk() []byte
- func (*ThreadJoin) ProtoMessage()
- func (m *ThreadJoin) Reset()
- func (m *ThreadJoin) String() string
- func (m *ThreadJoin) XXX_DiscardUnknown()
- func (m *ThreadJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ThreadJoin) XXX_Merge(src proto.Message)
- func (m *ThreadJoin) XXX_Size() int
- func (m *ThreadJoin) XXX_Unmarshal(b []byte) error
- type ThreadLeave
- func (*ThreadLeave) Descriptor() ([]byte, []int)
- func (m *ThreadLeave) GetHeader() *ThreadBlockHeader
- func (*ThreadLeave) ProtoMessage()
- func (m *ThreadLeave) Reset()
- func (m *ThreadLeave) String() string
- func (m *ThreadLeave) XXX_DiscardUnknown()
- func (m *ThreadLeave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ThreadLeave) XXX_Merge(src proto.Message)
- func (m *ThreadLeave) XXX_Size() int
- func (m *ThreadLeave) XXX_Unmarshal(b []byte) error
- type ThreadMerge
- func (*ThreadMerge) Descriptor() ([]byte, []int)
- func (m *ThreadMerge) GetDate() *timestamp.Timestamp
- func (m *ThreadMerge) GetParents() []string
- func (m *ThreadMerge) GetThreadPk() []byte
- func (*ThreadMerge) ProtoMessage()
- func (m *ThreadMerge) Reset()
- func (m *ThreadMerge) String() string
- func (m *ThreadMerge) XXX_DiscardUnknown()
- func (m *ThreadMerge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ThreadMerge) XXX_Merge(src proto.Message)
- func (m *ThreadMerge) XXX_Size() int
- func (m *ThreadMerge) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Chat_Flag_name = map[int32]string{
0: "MESSAGE",
1: "TYPING",
2: "READ",
}
View Source
var Chat_Flag_value = map[string]int32{
"MESSAGE": 0,
"TYPING": 1,
"READ": 2,
}
View Source
var Message_Type_name = map[int32]string{
0: "PING",
1: "CHAT",
2: "FOLLOW",
3: "UNFOLLOW",
4: "OFFLINE_ACK",
5: "OFFLINE_RELAY",
6: "MODERATOR_ADD",
7: "MODERATOR_REMOVE",
8: "STORE",
9: "BLOCK",
100: "THREAD_INVITE",
101: "THREAD_EXTERNAL_INVITE",
102: "THREAD_JOIN",
103: "THREAD_LEAVE",
104: "THREAD_DATA",
105: "THREAD_ANNOTATION",
200: "THREAD_IGNORE",
201: "THREAD_MERGE",
500: "ERROR",
}
View Source
var Message_Type_value = map[string]int32{
"PING": 0,
"CHAT": 1,
"FOLLOW": 2,
"UNFOLLOW": 3,
"OFFLINE_ACK": 4,
"OFFLINE_RELAY": 5,
"MODERATOR_ADD": 6,
"MODERATOR_REMOVE": 7,
"STORE": 8,
"BLOCK": 9,
"THREAD_INVITE": 100,
"THREAD_EXTERNAL_INVITE": 101,
"THREAD_JOIN": 102,
"THREAD_LEAVE": 103,
"THREAD_DATA": 104,
"THREAD_ANNOTATION": 105,
"THREAD_IGNORE": 200,
"THREAD_MERGE": 201,
"ERROR": 500,
}
View Source
var ThreadAnnotation_Type_name = map[int32]string{
0: "COMMENT",
1: "LIKE",
}
View Source
var ThreadAnnotation_Type_value = map[string]int32{
"COMMENT": 0,
"LIKE": 1,
}
View Source
var ThreadData_Type_name = map[int32]string{
0: "PHOTO",
1: "TEXT",
}
View Source
var ThreadData_Type_value = map[string]int32{
"PHOTO": 0,
"TEXT": 1,
}
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { RawData []byte `protobuf:"bytes,1,opt,name=rawData,proto3" json:"rawData,omitempty"` Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Block) Descriptor ¶
func (*Block) GetRawData ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type Chat ¶
type Chat struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` Date *timestamp.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` Flag Chat_Flag `protobuf:"varint,5,opt,name=flag,proto3,enum=Chat_Flag" json:"flag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Chat) Descriptor ¶
func (*Chat) GetMessage ¶
func (*Chat) GetSubject ¶
func (*Chat) ProtoMessage ¶
func (*Chat) ProtoMessage()
func (*Chat) XXX_DiscardUnknown ¶
func (m *Chat) XXX_DiscardUnknown()
func (*Chat) XXX_Unmarshal ¶
type CidList ¶
type CidList struct { Cids []string `protobuf:"bytes,1,rep,name=cids,proto3" json:"cids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CidList) Descriptor ¶
func (*CidList) ProtoMessage ¶
func (*CidList) ProtoMessage()
func (*CidList) XXX_DiscardUnknown ¶
func (m *CidList) XXX_DiscardUnknown()
func (*CidList) XXX_Marshal ¶
func (*CidList) XXX_Unmarshal ¶
type Envelope ¶
type Envelope struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Pk []byte `protobuf:"bytes,2,opt,name=pk,proto3" json:"pk,omitempty"` Sig []byte `protobuf:"bytes,3,opt,name=sig,proto3" json:"sig,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Envelope) Descriptor ¶
func (*Envelope) GetMessage ¶
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
func (*Envelope) XXX_DiscardUnknown ¶
func (m *Envelope) XXX_DiscardUnknown()
func (*Envelope) XXX_Marshal ¶
func (*Envelope) XXX_Unmarshal ¶
type Error ¶
type Error struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Error) Descriptor ¶
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
type Message ¶
type Message struct { Type Message_Type `protobuf:"varint,1,opt,name=type,proto3,enum=Message_Type" json:"type,omitempty"` Payload *any.Any `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` RequestId int32 `protobuf:"varint,3,opt,name=requestId,proto3" json:"requestId,omitempty"` IsResponse bool `protobuf:"varint,4,opt,name=isResponse,proto3" json:"isResponse,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Message) Descriptor ¶
func (*Message) GetIsResponse ¶
func (*Message) GetPayload ¶
func (*Message) GetRequestId ¶
func (*Message) GetType ¶
func (m *Message) GetType() Message_Type
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Unmarshal ¶
type Message_Type ¶
type Message_Type int32
const ( Message_PING Message_Type = 0 Message_CHAT Message_Type = 1 Message_FOLLOW Message_Type = 2 Message_UNFOLLOW Message_Type = 3 Message_OFFLINE_ACK Message_Type = 4 Message_OFFLINE_RELAY Message_Type = 5 Message_MODERATOR_ADD Message_Type = 6 Message_MODERATOR_REMOVE Message_Type = 7 Message_STORE Message_Type = 8 Message_BLOCK Message_Type = 9 Message_THREAD_INVITE Message_Type = 100 Message_THREAD_EXTERNAL_INVITE Message_Type = 101 Message_THREAD_JOIN Message_Type = 102 Message_THREAD_LEAVE Message_Type = 103 Message_THREAD_DATA Message_Type = 104 Message_THREAD_ANNOTATION Message_Type = 105 Message_THREAD_IGNORE Message_Type = 200 Message_THREAD_MERGE Message_Type = 201 Message_ERROR Message_Type = 500 )
func (Message_Type) EnumDescriptor ¶
func (Message_Type) EnumDescriptor() ([]byte, []int)
func (Message_Type) String ¶
func (x Message_Type) String() string
type SignedThreadBlock ¶
type SignedThreadBlock struct { Block []byte `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` ThreadSig []byte `protobuf:"bytes,2,opt,name=threadSig,proto3" json:"threadSig,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignedThreadBlock) Descriptor ¶
func (*SignedThreadBlock) Descriptor() ([]byte, []int)
func (*SignedThreadBlock) GetBlock ¶
func (m *SignedThreadBlock) GetBlock() []byte
func (*SignedThreadBlock) GetThreadSig ¶
func (m *SignedThreadBlock) GetThreadSig() []byte
func (*SignedThreadBlock) ProtoMessage ¶
func (*SignedThreadBlock) ProtoMessage()
func (*SignedThreadBlock) Reset ¶
func (m *SignedThreadBlock) Reset()
func (*SignedThreadBlock) String ¶
func (m *SignedThreadBlock) String() string
func (*SignedThreadBlock) XXX_DiscardUnknown ¶
func (m *SignedThreadBlock) XXX_DiscardUnknown()
func (*SignedThreadBlock) XXX_Marshal ¶
func (m *SignedThreadBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedThreadBlock) XXX_Merge ¶
func (dst *SignedThreadBlock) XXX_Merge(src proto.Message)
func (*SignedThreadBlock) XXX_Size ¶
func (m *SignedThreadBlock) XXX_Size() int
func (*SignedThreadBlock) XXX_Unmarshal ¶
func (m *SignedThreadBlock) XXX_Unmarshal(b []byte) error
type ThreadAnnotation ¶
type ThreadAnnotation struct { Header *ThreadBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Type ThreadAnnotation_Type `protobuf:"varint,2,opt,name=type,proto3,enum=ThreadAnnotation_Type" json:"type,omitempty"` DataId string `protobuf:"bytes,3,opt,name=dataId,proto3" json:"dataId,omitempty"` CaptionCipher []byte `protobuf:"bytes,4,opt,name=captionCipher,proto3" json:"captionCipher,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ThreadAnnotation) Descriptor ¶
func (*ThreadAnnotation) Descriptor() ([]byte, []int)
func (*ThreadAnnotation) GetCaptionCipher ¶
func (m *ThreadAnnotation) GetCaptionCipher() []byte
func (*ThreadAnnotation) GetDataId ¶
func (m *ThreadAnnotation) GetDataId() string
func (*ThreadAnnotation) GetHeader ¶
func (m *ThreadAnnotation) GetHeader() *ThreadBlockHeader
func (*ThreadAnnotation) GetType ¶
func (m *ThreadAnnotation) GetType() ThreadAnnotation_Type
func (*ThreadAnnotation) ProtoMessage ¶
func (*ThreadAnnotation) ProtoMessage()
func (*ThreadAnnotation) Reset ¶
func (m *ThreadAnnotation) Reset()
func (*ThreadAnnotation) String ¶
func (m *ThreadAnnotation) String() string
func (*ThreadAnnotation) XXX_DiscardUnknown ¶
func (m *ThreadAnnotation) XXX_DiscardUnknown()
func (*ThreadAnnotation) XXX_Marshal ¶
func (m *ThreadAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThreadAnnotation) XXX_Merge ¶
func (dst *ThreadAnnotation) XXX_Merge(src proto.Message)
func (*ThreadAnnotation) XXX_Size ¶
func (m *ThreadAnnotation) XXX_Size() int
func (*ThreadAnnotation) XXX_Unmarshal ¶
func (m *ThreadAnnotation) XXX_Unmarshal(b []byte) error
type ThreadAnnotation_Type ¶
type ThreadAnnotation_Type int32
const ( ThreadAnnotation_COMMENT ThreadAnnotation_Type = 0 ThreadAnnotation_LIKE ThreadAnnotation_Type = 1 )
func (ThreadAnnotation_Type) EnumDescriptor ¶
func (ThreadAnnotation_Type) EnumDescriptor() ([]byte, []int)
func (ThreadAnnotation_Type) String ¶
func (x ThreadAnnotation_Type) String() string
type ThreadBlockHeader ¶
type ThreadBlockHeader struct { Date *timestamp.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` Parents []string `protobuf:"bytes,2,rep,name=parents,proto3" json:"parents,omitempty"` ThreadPk []byte `protobuf:"bytes,3,opt,name=threadPk,proto3" json:"threadPk,omitempty"` AuthorPk []byte `protobuf:"bytes,4,opt,name=authorPk,proto3" json:"authorPk,omitempty"` AuthorUnCipher []byte `protobuf:"bytes,5,opt,name=authorUnCipher,proto3" json:"authorUnCipher,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ThreadBlockHeader) Descriptor ¶
func (*ThreadBlockHeader) Descriptor() ([]byte, []int)
func (*ThreadBlockHeader) GetAuthorPk ¶
func (m *ThreadBlockHeader) GetAuthorPk() []byte
func (*ThreadBlockHeader) GetAuthorUnCipher ¶
func (m *ThreadBlockHeader) GetAuthorUnCipher() []byte
func (*ThreadBlockHeader) GetDate ¶
func (m *ThreadBlockHeader) GetDate() *timestamp.Timestamp
func (*ThreadBlockHeader) GetParents ¶
func (m *ThreadBlockHeader) GetParents() []string
func (*ThreadBlockHeader) GetThreadPk ¶
func (m *ThreadBlockHeader) GetThreadPk() []byte
func (*ThreadBlockHeader) ProtoMessage ¶
func (*ThreadBlockHeader) ProtoMessage()
func (*ThreadBlockHeader) Reset ¶
func (m *ThreadBlockHeader) Reset()
func (*ThreadBlockHeader) String ¶
func (m *ThreadBlockHeader) String() string
func (*ThreadBlockHeader) XXX_DiscardUnknown ¶
func (m *ThreadBlockHeader) XXX_DiscardUnknown()
func (*ThreadBlockHeader) XXX_Marshal ¶
func (m *ThreadBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThreadBlockHeader) XXX_Merge ¶
func (dst *ThreadBlockHeader) XXX_Merge(src proto.Message)
func (*ThreadBlockHeader) XXX_Size ¶
func (m *ThreadBlockHeader) XXX_Size() int
func (*ThreadBlockHeader) XXX_Unmarshal ¶
func (m *ThreadBlockHeader) XXX_Unmarshal(b []byte) error
type ThreadData ¶
type ThreadData struct { Header *ThreadBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Type ThreadData_Type `protobuf:"varint,2,opt,name=type,proto3,enum=ThreadData_Type" json:"type,omitempty"` DataId string `protobuf:"bytes,3,opt,name=dataId,proto3" json:"dataId,omitempty"` KeyCipher []byte `protobuf:"bytes,4,opt,name=keyCipher,proto3" json:"keyCipher,omitempty"` CaptionCipher []byte `protobuf:"bytes,5,opt,name=captionCipher,proto3" json:"captionCipher,omitempty"` UsernameCipher []byte `protobuf:"bytes,6,opt,name=usernameCipher,proto3" json:"usernameCipher,omitempty"` // Deprecated: Do not use. XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ThreadData) Descriptor ¶
func (*ThreadData) Descriptor() ([]byte, []int)
func (*ThreadData) GetCaptionCipher ¶
func (m *ThreadData) GetCaptionCipher() []byte
func (*ThreadData) GetDataId ¶
func (m *ThreadData) GetDataId() string
func (*ThreadData) GetHeader ¶
func (m *ThreadData) GetHeader() *ThreadBlockHeader
func (*ThreadData) GetKeyCipher ¶
func (m *ThreadData) GetKeyCipher() []byte
func (*ThreadData) GetType ¶
func (m *ThreadData) GetType() ThreadData_Type
func (*ThreadData) GetUsernameCipher
deprecated
func (m *ThreadData) GetUsernameCipher() []byte
Deprecated: Do not use.
func (*ThreadData) ProtoMessage ¶
func (*ThreadData) ProtoMessage()
func (*ThreadData) Reset ¶
func (m *ThreadData) Reset()
func (*ThreadData) String ¶
func (m *ThreadData) String() string
func (*ThreadData) XXX_DiscardUnknown ¶
func (m *ThreadData) XXX_DiscardUnknown()
func (*ThreadData) XXX_Marshal ¶
func (m *ThreadData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThreadData) XXX_Merge ¶
func (dst *ThreadData) XXX_Merge(src proto.Message)
func (*ThreadData) XXX_Size ¶
func (m *ThreadData) XXX_Size() int
func (*ThreadData) XXX_Unmarshal ¶
func (m *ThreadData) XXX_Unmarshal(b []byte) error
type ThreadData_Type ¶
type ThreadData_Type int32
const ( ThreadData_PHOTO ThreadData_Type = 0 ThreadData_TEXT ThreadData_Type = 1 )
func (ThreadData_Type) EnumDescriptor ¶
func (ThreadData_Type) EnumDescriptor() ([]byte, []int)
func (ThreadData_Type) String ¶
func (x ThreadData_Type) String() string
type ThreadExternalInvite ¶
type ThreadExternalInvite struct { Header *ThreadBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` SkCipher []byte `protobuf:"bytes,2,opt,name=skCipher,proto3" json:"skCipher,omitempty"` SuggestedName string `protobuf:"bytes,3,opt,name=suggestedName,proto3" json:"suggestedName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ThreadExternalInvite) Descriptor ¶
func (*ThreadExternalInvite) Descriptor() ([]byte, []int)
func (*ThreadExternalInvite) GetHeader ¶
func (m *ThreadExternalInvite) GetHeader() *ThreadBlockHeader
func (*ThreadExternalInvite) GetSkCipher ¶
func (m *ThreadExternalInvite) GetSkCipher() []byte
func (*ThreadExternalInvite) GetSuggestedName ¶
func (m *ThreadExternalInvite) GetSuggestedName() string
func (*ThreadExternalInvite) ProtoMessage ¶
func (*ThreadExternalInvite) ProtoMessage()
func (*ThreadExternalInvite) Reset ¶
func (m *ThreadExternalInvite) Reset()
func (*ThreadExternalInvite) String ¶
func (m *ThreadExternalInvite) String() string
func (*ThreadExternalInvite) XXX_DiscardUnknown ¶
func (m *ThreadExternalInvite) XXX_DiscardUnknown()
func (*ThreadExternalInvite) XXX_Marshal ¶
func (m *ThreadExternalInvite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThreadExternalInvite) XXX_Merge ¶
func (dst *ThreadExternalInvite) XXX_Merge(src proto.Message)
func (*ThreadExternalInvite) XXX_Size ¶
func (m *ThreadExternalInvite) XXX_Size() int
func (*ThreadExternalInvite) XXX_Unmarshal ¶
func (m *ThreadExternalInvite) XXX_Unmarshal(b []byte) error
type ThreadHeader ¶
type ThreadHeader struct { Header *ThreadBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ThreadHeader) Descriptor ¶
func (*ThreadHeader) Descriptor() ([]byte, []int)
func (*ThreadHeader) GetHeader ¶
func (m *ThreadHeader) GetHeader() *ThreadBlockHeader
func (*ThreadHeader) ProtoMessage ¶
func (*ThreadHeader) ProtoMessage()
func (*ThreadHeader) Reset ¶
func (m *ThreadHeader) Reset()
func (*ThreadHeader) String ¶
func (m *ThreadHeader) String() string
func (*ThreadHeader) XXX_DiscardUnknown ¶
func (m *ThreadHeader) XXX_DiscardUnknown()
func (*ThreadHeader) XXX_Marshal ¶
func (m *ThreadHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThreadHeader) XXX_Merge ¶
func (dst *ThreadHeader) XXX_Merge(src proto.Message)
func (*ThreadHeader) XXX_Size ¶
func (m *ThreadHeader) XXX_Size() int
func (*ThreadHeader) XXX_Unmarshal ¶
func (m *ThreadHeader) XXX_Unmarshal(b []byte) error
type ThreadIgnore ¶
type ThreadIgnore struct { Header *ThreadBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` DataId string `protobuf:"bytes,2,opt,name=dataId,proto3" json:"dataId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ThreadIgnore) Descriptor ¶
func (*ThreadIgnore) Descriptor() ([]byte, []int)
func (*ThreadIgnore) GetDataId ¶
func (m *ThreadIgnore) GetDataId() string
func (*ThreadIgnore) GetHeader ¶
func (m *ThreadIgnore) GetHeader() *ThreadBlockHeader
func (*ThreadIgnore) ProtoMessage ¶
func (*ThreadIgnore) ProtoMessage()
func (*ThreadIgnore) Reset ¶
func (m *ThreadIgnore) Reset()
func (*ThreadIgnore) String ¶
func (m *ThreadIgnore) String() string
func (*ThreadIgnore) XXX_DiscardUnknown ¶
func (m *ThreadIgnore) XXX_DiscardUnknown()
func (*ThreadIgnore) XXX_Marshal ¶
func (m *ThreadIgnore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThreadIgnore) XXX_Merge ¶
func (dst *ThreadIgnore) XXX_Merge(src proto.Message)
func (*ThreadIgnore) XXX_Size ¶
func (m *ThreadIgnore) XXX_Size() int
func (*ThreadIgnore) XXX_Unmarshal ¶
func (m *ThreadIgnore) XXX_Unmarshal(b []byte) error
type ThreadInvite ¶
type ThreadInvite struct { Header *ThreadBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` SkCipher []byte `protobuf:"bytes,2,opt,name=skCipher,proto3" json:"skCipher,omitempty"` SuggestedName string `protobuf:"bytes,3,opt,name=suggestedName,proto3" json:"suggestedName,omitempty"` InviteeId string `protobuf:"bytes,4,opt,name=inviteeId,proto3" json:"inviteeId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ThreadInvite) Descriptor ¶
func (*ThreadInvite) Descriptor() ([]byte, []int)
func (*ThreadInvite) GetHeader ¶
func (m *ThreadInvite) GetHeader() *ThreadBlockHeader
func (*ThreadInvite) GetInviteeId ¶
func (m *ThreadInvite) GetInviteeId() string
func (*ThreadInvite) GetSkCipher ¶
func (m *ThreadInvite) GetSkCipher() []byte
func (*ThreadInvite) GetSuggestedName ¶
func (m *ThreadInvite) GetSuggestedName() string
func (*ThreadInvite) ProtoMessage ¶
func (*ThreadInvite) ProtoMessage()
func (*ThreadInvite) Reset ¶
func (m *ThreadInvite) Reset()
func (*ThreadInvite) String ¶
func (m *ThreadInvite) String() string
func (*ThreadInvite) XXX_DiscardUnknown ¶
func (m *ThreadInvite) XXX_DiscardUnknown()
func (*ThreadInvite) XXX_Marshal ¶
func (m *ThreadInvite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThreadInvite) XXX_Merge ¶
func (dst *ThreadInvite) XXX_Merge(src proto.Message)
func (*ThreadInvite) XXX_Size ¶
func (m *ThreadInvite) XXX_Size() int
func (*ThreadInvite) XXX_Unmarshal ¶
func (m *ThreadInvite) XXX_Unmarshal(b []byte) error
type ThreadJoin ¶
type ThreadJoin struct { Header *ThreadBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` InviterPk []byte `protobuf:"bytes,2,opt,name=inviterPk,proto3" json:"inviterPk,omitempty"` BlockId string `protobuf:"bytes,3,opt,name=blockId,proto3" json:"blockId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ThreadJoin) Descriptor ¶
func (*ThreadJoin) Descriptor() ([]byte, []int)
func (*ThreadJoin) GetBlockId ¶
func (m *ThreadJoin) GetBlockId() string
func (*ThreadJoin) GetHeader ¶
func (m *ThreadJoin) GetHeader() *ThreadBlockHeader
func (*ThreadJoin) GetInviterPk ¶
func (m *ThreadJoin) GetInviterPk() []byte
func (*ThreadJoin) ProtoMessage ¶
func (*ThreadJoin) ProtoMessage()
func (*ThreadJoin) Reset ¶
func (m *ThreadJoin) Reset()
func (*ThreadJoin) String ¶
func (m *ThreadJoin) String() string
func (*ThreadJoin) XXX_DiscardUnknown ¶
func (m *ThreadJoin) XXX_DiscardUnknown()
func (*ThreadJoin) XXX_Marshal ¶
func (m *ThreadJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThreadJoin) XXX_Merge ¶
func (dst *ThreadJoin) XXX_Merge(src proto.Message)
func (*ThreadJoin) XXX_Size ¶
func (m *ThreadJoin) XXX_Size() int
func (*ThreadJoin) XXX_Unmarshal ¶
func (m *ThreadJoin) XXX_Unmarshal(b []byte) error
type ThreadLeave ¶
type ThreadLeave struct { Header *ThreadBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ThreadLeave) Descriptor ¶
func (*ThreadLeave) Descriptor() ([]byte, []int)
func (*ThreadLeave) GetHeader ¶
func (m *ThreadLeave) GetHeader() *ThreadBlockHeader
func (*ThreadLeave) ProtoMessage ¶
func (*ThreadLeave) ProtoMessage()
func (*ThreadLeave) Reset ¶
func (m *ThreadLeave) Reset()
func (*ThreadLeave) String ¶
func (m *ThreadLeave) String() string
func (*ThreadLeave) XXX_DiscardUnknown ¶
func (m *ThreadLeave) XXX_DiscardUnknown()
func (*ThreadLeave) XXX_Marshal ¶
func (m *ThreadLeave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThreadLeave) XXX_Merge ¶
func (dst *ThreadLeave) XXX_Merge(src proto.Message)
func (*ThreadLeave) XXX_Size ¶
func (m *ThreadLeave) XXX_Size() int
func (*ThreadLeave) XXX_Unmarshal ¶
func (m *ThreadLeave) XXX_Unmarshal(b []byte) error
type ThreadMerge ¶
type ThreadMerge struct { Date *timestamp.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` Parents []string `protobuf:"bytes,2,rep,name=parents,proto3" json:"parents,omitempty"` ThreadPk []byte `protobuf:"bytes,3,opt,name=threadPk,proto3" json:"threadPk,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ThreadMerge) Descriptor ¶
func (*ThreadMerge) Descriptor() ([]byte, []int)
func (*ThreadMerge) GetDate ¶
func (m *ThreadMerge) GetDate() *timestamp.Timestamp
func (*ThreadMerge) GetParents ¶
func (m *ThreadMerge) GetParents() []string
func (*ThreadMerge) GetThreadPk ¶
func (m *ThreadMerge) GetThreadPk() []byte
func (*ThreadMerge) ProtoMessage ¶
func (*ThreadMerge) ProtoMessage()
func (*ThreadMerge) Reset ¶
func (m *ThreadMerge) Reset()
func (*ThreadMerge) String ¶
func (m *ThreadMerge) String() string
func (*ThreadMerge) XXX_DiscardUnknown ¶
func (m *ThreadMerge) XXX_DiscardUnknown()
func (*ThreadMerge) XXX_Marshal ¶
func (m *ThreadMerge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThreadMerge) XXX_Merge ¶
func (dst *ThreadMerge) XXX_Merge(src proto.Message)
func (*ThreadMerge) XXX_Size ¶
func (m *ThreadMerge) XXX_Size() int
func (*ThreadMerge) XXX_Unmarshal ¶
func (m *ThreadMerge) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.