Documentation ¶
Overview ¶
Package internal is a generated protocol buffer package.
It is generated from these files:
internal/data.proto
It has these top-level messages:
WriteShardRequest From Content Mention Message WriteShardResponse MapShardRequest MapShardResponse
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Content ¶
type Content struct { PlainText *string `protobuf:"bytes,1,req" json:"PlainText,omitempty"` HTML *string `protobuf:"bytes,2,opt" json:"HTML,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Content) GetPlainText ¶
func (*Content) ProtoMessage ¶
func (*Content) ProtoMessage()
type From ¶
type From struct { UserID *string `protobuf:"bytes,1,req" json:"UserID,omitempty"` Name *string `protobuf:"bytes,2,req" json:"Name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*From) ProtoMessage ¶
func (*From) ProtoMessage()
type MapShardRequest ¶
type MapShardRequest struct { ShardID *uint64 `protobuf:"varint,1,req" json:"ShardID,omitempty"` Query *string `protobuf:"bytes,2,req" json:"Query,omitempty"` ChunkSize *int32 `protobuf:"varint,3,req" json:"ChunkSize,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MapShardRequest) GetChunkSize ¶
func (m *MapShardRequest) GetChunkSize() int32
func (*MapShardRequest) GetQuery ¶
func (m *MapShardRequest) GetQuery() string
func (*MapShardRequest) GetShardID ¶
func (m *MapShardRequest) GetShardID() uint64
func (*MapShardRequest) ProtoMessage ¶
func (*MapShardRequest) ProtoMessage()
func (*MapShardRequest) Reset ¶
func (m *MapShardRequest) Reset()
func (*MapShardRequest) String ¶
func (m *MapShardRequest) String() string
type MapShardResponse ¶
type MapShardResponse struct { Code *int32 `protobuf:"varint,1,req" json:"Code,omitempty"` Message *string `protobuf:"bytes,2,opt" json:"Message,omitempty"` Data []byte `protobuf:"bytes,3,opt" json:"Data,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MapShardResponse) GetCode ¶
func (m *MapShardResponse) GetCode() int32
func (*MapShardResponse) GetData ¶
func (m *MapShardResponse) GetData() []byte
func (*MapShardResponse) GetMessage ¶
func (m *MapShardResponse) GetMessage() string
func (*MapShardResponse) ProtoMessage ¶
func (*MapShardResponse) ProtoMessage()
func (*MapShardResponse) Reset ¶
func (m *MapShardResponse) Reset()
func (*MapShardResponse) String ¶
func (m *MapShardResponse) String() string
type Mention ¶
type Mention struct { RecipientID *string `protobuf:"bytes,1,req" json:"RecipientID,omitempty"` RecipientUsername *string `protobuf:"bytes,2,req" json:"RecipientUsername,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Mention) GetRecipientID ¶
func (*Mention) GetRecipientUsername ¶
func (*Mention) ProtoMessage ¶
func (*Mention) ProtoMessage()
type Message ¶
type Message struct { Id *string `protobuf:"bytes,1,opt" json:"Id,omitempty"` Time *int64 `protobuf:"varint,2,req" json:"Time,omitempty"` From *From `protobuf:"bytes,3,opt" json:"From,omitempty"` Content *Content `protobuf:"bytes,4,opt" json:"Content,omitempty"` Mentions *Mention `protobuf:"bytes,5,opt" json:"Mentions,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Message) GetContent ¶
func (*Message) GetMentions ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
type WriteShardRequest ¶
type WriteShardRequest struct { ShardID *uint64 `protobuf:"varint,1,req" json:"ShardID,omitempty"` Messages []*Message `protobuf:"bytes,2,rep" json:"Messages,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*WriteShardRequest) GetMessages ¶
func (m *WriteShardRequest) GetMessages() []*Message
func (*WriteShardRequest) GetShardID ¶
func (m *WriteShardRequest) GetShardID() uint64
func (*WriteShardRequest) ProtoMessage ¶
func (*WriteShardRequest) ProtoMessage()
func (*WriteShardRequest) Reset ¶
func (m *WriteShardRequest) Reset()
func (*WriteShardRequest) String ¶
func (m *WriteShardRequest) String() string
type WriteShardResponse ¶
type WriteShardResponse struct { Code *int32 `protobuf:"varint,1,req" json:"Code,omitempty"` Message *string `protobuf:"bytes,2,opt" json:"Message,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*WriteShardResponse) GetCode ¶
func (m *WriteShardResponse) GetCode() int32
func (*WriteShardResponse) GetMessage ¶
func (m *WriteShardResponse) GetMessage() string
func (*WriteShardResponse) ProtoMessage ¶
func (*WriteShardResponse) ProtoMessage()
func (*WriteShardResponse) Reset ¶
func (m *WriteShardResponse) Reset()
func (*WriteShardResponse) String ¶
func (m *WriteShardResponse) String() string
Click to show internal directories.
Click to hide internal directories.